ceph/cmake/modules
Kefu Chai 16fd07244d cmake: allow use libzstd in system
since we are moving the test nodes from bionic to focal, we are able to
use the prebuilt libzstd libraries when running "make check". to speed
up the build and test, in this change:

* add FindZstd.cmake which allows us to use the libzstd in system
* extract BuildZstd.cmake for better readability
* add an option named "WITH_SYSTEM_ZSTD", which defaults to "OFF",
  so user can enable it on demand.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-31 12:53:39 +08:00
..
FindPython cmake: add support for python3.9 2020-11-11 10:43:37 +08:00
AddCephTest.cmake cmake: pass unparsed args to add_ceph_test() 2021-03-30 17:33:56 +08:00
BuildBoost.cmake cmake: define BUILD_BYPRODUCTS for Boost 2021-03-09 19:13:22 +08:00
Buildc-ares.cmake cmake: should expose ${C-ARES_BINARY_DIR} from c-ares 2020-02-13 17:51:45 +08:00
BuildDPDK.cmake cmake: use "" for no-op INSTALL_COMMAND 2021-03-09 19:13:21 +08:00
BuildFIO.cmake cmake: pass compile options by fio interface library 2021-03-23 16:25:47 +08:00
BuildJaeger.cmake jaeger, build/op: add jaeger and it's dependencies as submodules 2020-12-11 07:55:46 +00:00
BuildOpenTracing.cmake jaeger, build/op: add jaeger and it's dependencies as submodules 2020-12-11 07:55:46 +00:00
Buildpmem.cmake cmake: silence "You are in 'detached HEAD' state" warning 2021-03-09 19:13:22 +08:00
BuildQatDrv.cmake crypto: QAT Wrapper for Ceph Encryption 2018-10-18 21:48:18 -07:00
BuildRocksDB.cmake cmake: do not specify CMAKE_GENERATOR for external projects 2021-03-09 19:13:22 +08:00
BuildSPDK.cmake cmake: use "" for no-op INSTALL_COMMAND 2021-03-09 19:13:21 +08:00
Buildthrift.cmake jaeger, build/op: add jaeger and it's dependencies as submodules 2020-12-11 07:55:46 +00:00
Builduring.cmake cmake: Alter GIT_REPOSITORY for liburing 2020-12-03 11:56:43 +10:00
Buildyaml-cpp.cmake jaeger, build/op: add jaeger and it's dependencies as submodules 2020-12-11 07:55:46 +00:00
BuildZstd.cmake cmake: allow use libzstd in system 2021-03-31 12:53:39 +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 and use sigdescr_np() if available 2020-09-01 15:13:31 +02:00
CheckCxxAtomic.cmake cmake: Improve test for 16-byte atomic support on IBM Z 2020-01-23 13:13:58 +01:00
CheckNasm.cmake cmake: only display the result of checking nasm once 2021-01-04 01:34:46 +08:00
CTags.cmake cmake: don't include tags for Python imports, .tox, build/ dirs 2020-08-10 22:53:03 +00:00
Distutils.cmake cmake: install python scripts into /usr/sbin even if DESTDIR is empty 2020-12-21 01:26:46 +08:00
ExternalProjectHelper.cmake jaeger, build/op: add jaeger and it's dependencies as submodules 2020-12-11 07:55:46 +00:00
Findaio.cmake
Findbabeltrace.cmake
FindBacktrace.cmake
Findblkid.cmake
FindBoost.cmake cmake: adapt FindBoost.cmake to our needs 2021-03-19 20:35:51 +08:00
Findc-ares.cmake cmake: require 4.0.0 <= libfmt-dev < 5.0.0 2018-08-02 22:14:03 +08:00
FindCUnit.cmake
FindCython.cmake cmake: drop WITH_PYTHON2 option 2019-12-19 10:58:58 +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
Findfmt.cmake cmake: fix version matching for Findfmt 2018-09-10 10:22:24 -04:00
FindFUSE.cmake cmake: to get the header and library from specified path 2020-05-24 21:40:18 -04:00
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
Findlibcryptsetup.cmake cmake: fix unknown pkg_search_module 2020-12-02 06:18:52 -05:00
FindLTTngUST.cmake
FindLZ4.cmake cmake: add LZ4::LZ4 target for LZ4 2018-08-06 17:38:07 +08:00
FindMake.cmake cmake: add find_make() function 2020-04-03 13:07:51 +08:00
Findnl.cmake cmake: rewrite Findgenl to support components argument 2019-06-19 21:21:00 +08:00
FindNUMA.cmake cmake: use NUMA for package name in FindNUMA.cmake 2021-02-14 23:11:33 +08:00
FindOATH.cmake cmake: cmake: oath lives in liboath 2018-06-10 16:21:41 +02:00
FindOpenLdap.cmake
Findpmem.cmake cmake: support COMPONENTS param in Findpmem.cmake 2021-03-06 12:25:37 +08:00
FindPython3.cmake cmake: update FindPython* modules 2019-07-20 22:35:07 +08:00
Findqatzip.cmake
FindRabbitMQ.cmake cmake: find_package(RabbitMQ) instead of just checking its header 2019-02-21 19:00:24 +08:00
FindRDKafka.cmake cmake: check version of librdkafka 2019-12-15 22:16:08 +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: expose Sanitizers_COMPILE_OPTIONS as a list 2020-08-31 16:11:33 +08:00
Findsnappy.cmake cmake: cleanup snappy related script 2018-08-06 17:16:46 +08:00
FindSQLite3.cmake libcephsqlite: rework architecture and backend 2021-03-19 08:52:55 -07: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: do not always require extra link flags for std::filesystem 2020-12-02 19:42:34 +08:00
Findudev.cmake
Finduring.cmake cmake: use cmake module to integrate liburing 2020-04-17 23:22:56 +08:00
Finduuid.cmake
Findverbs.cmake cmake: extract the RDMA libraries interface properties out 2018-06-28 23:26:28 +08:00
Findxfs.cmake
Findyaml-cpp.cmake jaeger, build/op: add jaeger and it's dependencies as submodules 2020-12-11 07:55:46 +00:00
Findzbd.cmake os/bluestore: Switch from libzbc library to libzbd library 2020-09-06 12:35:05 -04:00
Findzfs.cmake
FindZstd.cmake cmake: allow use libzstd in system 2021-03-31 12:53:39 +08:00
GetGitRevisionDescription.cmake cmake: check $top_srcdir/.git directly 2020-04-08 18:03:37 +08:00
GetGitRevisionDescription.cmake.in cmake/modules/GetGitRevisionDescription: update to work with git-worktree 2019-10-07 14:26:07 -05:00
IncludeJaeger.cmake jaeger, build/op: add jaeger and it's dependencies as submodules 2020-12-11 07:55:46 +00:00
patch-dpdk-conf.sh cmake: Add dpdk numa support 2019-11-28 20:15:39 +08:00
SIMDExt.cmake cmake: use add_compile_options() 2020-06-18 16:40:14 +08:00