]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: add WITH_SYSTEM_SPDK to link a system-installed SPDK 69185/head
authorSun Yuechi <sunyuechi@iscas.ac.cn>
Sat, 30 May 2026 06:15:12 +0000 (14:15 +0800)
committerSun Yuechi <sunyuechi@iscas.ac.cn>
Sun, 31 May 2026 00:33:11 +0000 (08:33 +0800)
commit6af1a859468c2cf9697e23fb428b24f49fe74e74
tree877594ab9eb3d30513071ba52d18a2cddbcff9c3
parentd18ffa868fde6af02548404d95c7c0fe8947ddc6
cmake: add WITH_SYSTEM_SPDK to link a system-installed SPDK

By default ceph builds the bundled src/spdk fork via BuildSPDK. Add a
WITH_SYSTEM_SPDK option that instead locates a distro-provided SPDK
through a new Findspdk.cmake (pkg-config based, modelled on
Finddpdk.cmake), exposing the same spdk::spdk target.

Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
CMakeLists.txt
cmake/modules/Findspdk.cmake [new file with mode: 0644]