Files
gentoo/sys-cluster/ceph/files/ceph-18.2.4-spdk.patch
Patrick Lauer e0728e24f2 sys-cluster/ceph: Fix build with use=spdk
Tests don't build, but we don't even run the tests.
Exclude tests from build.

Closes: https://bugs.gentoo.org/936889
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
2024-10-04 11:52:30 +00:00

14 lines
475 B
Diff

diff --git a/cmake/modules/BuildSPDK.cmake b/cmake/modules/BuildSPDK.cmake
index d6ce97e..0c49e05 100644
--- a/cmake/modules/BuildSPDK.cmake
+++ b/cmake/modules/BuildSPDK.cmake
@@ -51,6 +51,8 @@ macro(build_spdk)
--with-dpdk=${DPDK_DIR}
--without-isal
--without-vhost
+ --disable-tests
+ --disable-unit-tests
--target-arch=${target_arch}
# unset $CFLAGS, otherwise it will interfere with how SPDK sets
# its include directory.