diff options
author | 2024-06-08 23:36:08 +0200 | |
---|---|---|
committer | 2024-06-29 17:49:14 +0100 | |
commit | 06f56b7e0d3d0427aa7a161e989e0002e714a649 (patch) | |
tree | 47b5abcd2fa9570e598d01b037b00db18e3b7a4b /media-libs/osl/osl-9999.ebuild | |
parent | media-libs/osl: drop 1.12.7.0, 1.12.11.0, 1.12.13.0 (diff) | |
download | gentoo-06f56b7e0d3d0427aa7a161e989e0002e714a649.tar.gz gentoo-06f56b7e0d3d0427aa7a161e989e0002e714a649.tar.bz2 gentoo-06f56b7e0d3d0427aa7a161e989e0002e714a649.zip |
media-libs/osl: move VEC_REPORT to USE=debug
BATCHED and SIMD support is iffy. This was intended to get better bug reports.
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36062
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/osl/osl-9999.ebuild')
-rw-r--r-- | media-libs/osl/osl-9999.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/media-libs/osl/osl-9999.ebuild b/media-libs/osl/osl-9999.ebuild index 9d66a33c3e3d..3df3ad89ba3b 100644 --- a/media-libs/osl/osl-9999.ebuild +++ b/media-libs/osl/osl-9999.ebuild @@ -32,7 +32,7 @@ X86_CPU_FEATURES=( ) CPU_FEATURES=( "${X86_CPU_FEATURES[@]/#/cpu_flags_x86_}" ) -IUSE="doc gui libcxx nofma optix partio qt6 test ${CPU_FEATURES[*]%:*} python" +IUSE="debug doc gui libcxx nofma optix partio qt6 test ${CPU_FEATURES[*]%:*} python" RESTRICT="!test? ( test )" @@ -189,11 +189,16 @@ src_configure() { -DUSE_BATCHED="$(IFS=","; echo "${mybatched[*]}")" -DUSE_LIBCPLUSPLUS="$(usex libcxx)" -DOSL_USE_OPTIX="$(usex optix)" - -DVEC_REPORT="yes" -DOpenImageIO_ROOT="${EPREFIX}/usr" ) + if use debug; then + mycmakeargs+=( + -DVEC_REPORT="yes" + ) + fi + if use gui; then mycmakeargs+=( -DUSE_QT="yes" ) if ! use qt6; then |