mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
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>
14 lines
475 B
Diff
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.
|