sci-mathematics/stp: build tweaks

Closes: https://bugs.gentoo.org/880135
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2024-06-29 01:26:28 +02:00
parent 2f6a869c5d
commit 57c9698e1d
2 changed files with 14 additions and 4 deletions

View File

@@ -100,12 +100,18 @@ src_configure() {
fi
local -a mycmakeargs=(
-DTEST_C_API=OFF # C API test fail
-DNOCRYPTOMINISAT=$(usex cryptominisat 'OFF' 'ON') # double negation
-DENABLE_PYTHON_INTERFACE=$(usex python)
-DENABLE_ASSERTIONS=$(usex test)
-DENABLE_TESTING=$(usex test)
)
if use test ; then
mycmakeargs+=(
-DTEST_C_API=OFF # C API test fail
)
fi
cmake_src_configure
}

View File

@@ -78,9 +78,6 @@ src_configure() {
fi
local -a mycmakeargs=(
# -DGTEST_PREFIX="${BROOT}/usr/$(get_libdir)/cmake/GTest"
-DTEST_C_API=OFF # C API test fail
-DUSE_RISS=OFF
# Cryptominisat switches
@@ -91,6 +88,13 @@ src_configure() {
-DENABLE_ASSERTIONS=$(usex test)
-DENABLE_TESTING=$(usex test)
)
if use test ; then
mycmakeargs+=(
-DTEST_C_API=OFF # C API test fail
)
fi
cmake_src_configure
}