ceph/cmake/modules
Kefu Chai d6998a3b95 cmake: detect librt for POSIX time functions
per clock_gettime(3),

> On POSIX systems on which these functions are available, the symbol
> _POSIX_TIMERS is defined in <unistd.h> to a value greater than 0.

and

> Most systems require the program be linked with the librt library to
> use these functions.

so, we should detect this symbol and link against librt for using these
functions.

in this change, librt is linked for checking the existence of
clock_gettime(), if it exists. RT_LIBRARY is defined.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-11-14 21:26:57 +08:00
..
FindPython cmake: update FindPython* modules 2019-07-20 22:35:07 +08:00
AddCephTest.cmake test/venv: Fix the python version of the test environment 2019-08-27 15:10:21 +02:00
boost_context_asm_arm_syntax_unified.patch cmake: move boost patch to cmake/modules 2019-06-12 16:32:10 +08:00
boost_lockfree_queue_valgrind_error.patch cmake: boost valgrind fixes for boost::lockfree::queue 2019-06-28 10:56:03 -04:00
BuildBoost.cmake cmake: update FindPython* modules 2019-07-20 22:35:07 +08:00
Buildc-ares.cmake cmake: build c-ares if it's not found or not new enough 2018-07-25 13:13:45 +08:00
BuildDPDK.cmake crimson: build seastar dpdk from src/seastar/dpdk 2019-11-13 15:53:43 +08:00
BuildFIO.cmake test/fio: bump to fio 3.15 2019-11-12 02:24:45 +03:00
Buildpmem.cmake cmake: move pmdk build script to Buildpmem.cmake 2019-07-10 11:43:27 -04:00
BuildQatDrv.cmake crypto: QAT Wrapper for Ceph Encryption 2018-10-18 21:48:18 -07:00
BuildRocksDB.cmake cmake/modules/BuildRocksDB.cmake: use BUILD_ALWAYS 2019-07-11 19:30:28 +08:00
BuildSPDK.cmake cmake: silence -Waddress-of-packed-member warnings from SPDK 2019-06-13 19:35:26 +08:00
CephCheck_link.c cmake: detect linker support 2019-10-08 21:53:03 +08:00
CephCheck_link.map cmake: detect linker support 2019-10-08 21:53:03 +08:00
CephChecks.cmake cmake: detect librt for POSIX time functions 2019-11-14 21:26:57 +08:00
CheckCxxAtomic.cmake cmake: Test for 16-byte atomic support on IBM Z 2019-09-29 16:22:52 +02:00
CheckYasm.cmake cmake: extract Yasm check into a module 2018-07-28 16:53:10 +08:00
CTags.cmake
Distutils.cmake cmake/modules/Distutils: do not add ${name}-clone if already added 2019-07-26 12:11:25 +02:00
Findaio.cmake
Findbabeltrace.cmake
FindBacktrace.cmake
Findblkid.cmake
FindBoost.cmake cmake: update FindBoost.cmake 2019-07-30 16:00:04 +02:00
Findc-ares.cmake cmake: require 4.0.0 <= libfmt-dev < 5.0.0 2018-08-02 22:14:03 +08:00
FindCUnit.cmake cmake: build spdk/dpdk in cmake modules 2017-11-17 15:37:53 +08:00
FindCython.cmake cmake: update FindPython* modules 2019-07-20 22:35:07 +08:00
Finddpdk.cmake crimson: link required dpdk components for seastar 2019-11-13 15:53:31 +08:00
Findfcgi.cmake cmake: remove stale comments 2018-06-28 13:21:02 +08:00
Findfio.cmake test/fio: enable objectstore FIO plugin building without the need to install and build FIO source code 2018-03-05 20:35:08 +03:00
Findfmt.cmake cmake: fix version matching for Findfmt 2018-09-10 10:22:24 -04:00
Findfuse.cmake
FindGMock.cmake cmake: link against gtest in a better way 2018-08-17 15:21:27 +08:00
Findgperftools.cmake cmake: import allocator libraries in a better way 2018-07-26 15:16:48 +08:00
FindGSSApi.cmake auth: Kerberos authentication 2018-12-03 18:55:46 -07:00
FindJeMalloc.cmake cmake: fix a cmake error when with -DALLOCATOR=jemalloc. 2018-08-02 16:38:53 +08:00
Findkeyutils.cmake cmake: extract mount.ceph into src/mount 2018-07-28 16:53:10 +08:00
Findleveldb.cmake
FindLTTngUST.cmake
FindLZ4.cmake cmake: add LZ4::LZ4 target for LZ4 2018-08-06 17:38:07 +08:00
Findnl.cmake cmake: rewrite Findgenl to support components argument 2019-06-19 21:21:00 +08:00
FindOATH.cmake cmake: cmake: oath lives in liboath 2018-06-10 16:21:41 +02:00
FindOpenLdap.cmake
Findpmem.cmake cmake: Add the support to use system PMDK library 2019-07-10 11:43:27 -04:00
FindPython2.cmake cmake: update FindPython* modules 2019-07-20 22:35:07 +08:00
FindPython3.cmake cmake: update FindPython* modules 2019-07-20 22:35:07 +08:00
FindPython.cmake cmake: update FindPython* modules 2019-07-20 22:35:07 +08:00
Findqatzip.cmake compressor: add QAT support 2018-04-18 12:05:44 +08:00
FindRabbitMQ.cmake cmake: find_package(RabbitMQ) instead of just checking its header 2019-02-21 19:00:24 +08:00
Findrdmacm.cmake cmake: extract the RDMA libraries interface properties out 2018-06-28 23:26:28 +08:00
FindRocksDB.cmake cmake/FindRocksDB: fix IMPORTED_LOCATION for ROCKSDB_LIBRARIES 2019-03-27 10:18:26 +08:00
FindSanitizers.cmake cmake: fix libtsan detection 2019-09-30 14:49:12 -04:00
Findsnappy.cmake cmake: cleanup snappy related script 2018-08-06 17:16:46 +08:00
FindStdFilesystem_test.cc cmake: Make the tests for finding Filesystem with more serious functions 2019-02-14 13:18:50 +01:00
FindStdFilesystem.cmake cmake: require CMake v3.10.2 2019-08-02 22:09:12 +08:00
Findudev.cmake
Finduuid.cmake cmake,rpm,deb: update to accommodate SPDK v17.10 2017-11-29 18:03:23 +08:00
Findverbs.cmake cmake: extract the RDMA libraries interface properties out 2018-06-28 23:26:28 +08:00
Findxfs.cmake
Findzfs.cmake
GetGitRevisionDescription.cmake cmake/modules/GetGitRevisionDescription: update to work with git-worktree 2019-10-07 14:26:07 -05:00
GetGitRevisionDescription.cmake.in cmake/modules/GetGitRevisionDescription: update to work with git-worktree 2019-10-07 14:26:07 -05:00
patch-dpdk-conf.sh cmake: specify missing settings for dpdk 2018-05-06 15:26:14 +08:00
SIMDExt.cmake Merge pull request #24168 from tchaikov/wip-17516 2018-10-04 16:10:18 -07:00