mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-mathematics/stp: build tweaks
Closes: https://bugs.gentoo.org/880135 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user