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
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
boost_lockfree_queue_valgrind_error.patch
BuildBoost.cmake
Buildc-ares.cmake
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
BuildQatDrv.cmake
BuildRocksDB.cmake
BuildSPDK.cmake
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
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
FindCUnit.cmake
FindCython.cmake
Finddpdk.cmake crimson: link required dpdk components for seastar 2019-11-13 15:53:31 +08:00
Findfcgi.cmake
Findfio.cmake
Findfmt.cmake
Findfuse.cmake
FindGMock.cmake
Findgperftools.cmake
FindGSSApi.cmake
FindJeMalloc.cmake
Findkeyutils.cmake
Findleveldb.cmake
FindLTTngUST.cmake
FindLZ4.cmake
Findnl.cmake
FindOATH.cmake
FindOpenLdap.cmake
Findpmem.cmake
FindPython2.cmake
FindPython3.cmake
FindPython.cmake
Findqatzip.cmake
FindRabbitMQ.cmake
Findrdmacm.cmake
FindRocksDB.cmake
FindSanitizers.cmake cmake: fix libtsan detection 2019-09-30 14:49:12 -04:00
Findsnappy.cmake
FindStdFilesystem_test.cc
FindStdFilesystem.cmake cmake: require CMake v3.10.2 2019-08-02 22:09:12 +08:00
Findudev.cmake
Finduuid.cmake
Findverbs.cmake
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
SIMDExt.cmake