media-libs/embree: Remove static-lib useflag

It could cause build issues with the Blender ebuild when using older
CPUs. It will also fail to build with newer TBB versions.

It doesn't bring any real benifit to build static libs for Blender
currently either. (The only package in portage that uses embree)

Closes: https://bugs.gentoo.org/828447
Closes: https://bugs.gentoo.org/831377
Signed-off-by: Sebastian Parborg <darkdefende@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sebastian Parborg
2022-02-18 02:36:58 +00:00
committed by Sam James
parent 3c9cd835db
commit 1de82f166b
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ SLOT="3"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
X86_CPU_FLAGS=( sse2:sse2 sse4_2:sse4_2 avx:avx avx2:avx2 avx512dq:avx512dq )
CPU_FLAGS=( ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} )
IUSE="+compact-polys ispc +raymask ssp +tbb tutorial static-libs ${CPU_FLAGS[@]%:*}"
IUSE="+compact-polys ispc +raymask ssp +tbb tutorial ${CPU_FLAGS[@]%:*}"
RESTRICT="mirror"
BDEPEND="
@@ -93,7 +93,7 @@ src_configure() {
-DEMBREE_RAY_MASK=$(usex raymask)
-DEMBREE_RAY_PACKETS=ON # default
-DEMBREE_STACK_PROTECTOR=$(usex ssp)
-DEMBREE_STATIC_LIB=$(usex static-libs)
-DEMBREE_STATIC_LIB=OFF
-DEMBREE_STAT_COUNTERS=OFF
-DEMBREE_TASKING_SYSTEM:STRING=$(usex tbb "TBB" "INTERNAL")
-DEMBREE_TUTORIALS=$(usex tutorial) )
+2 -2
View File
@@ -14,7 +14,7 @@ SLOT="3"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
X86_CPU_FLAGS=( sse2:sse2 sse4_2:sse4_2 avx:avx avx2:avx2 avx512dq:avx512dq )
CPU_FLAGS=( cpu_flags_arm_neon ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} )
IUSE="+compact-polys ispc +raymask ssp +tbb tutorial static-libs ${CPU_FLAGS[@]%:*}"
IUSE="+compact-polys ispc +raymask ssp +tbb tutorial ${CPU_FLAGS[@]%:*}"
# Let's be explicit here even though we could simplify it.
REQUIRED_USE="amd64? ( cpu_flags_x86_sse2 ) x86? ( cpu_flags_x86_sse2 )"
@@ -111,7 +111,7 @@ src_configure() {
# default
-DEMBREE_RAY_PACKETS=ON
-DEMBREE_STACK_PROTECTOR=$(usex ssp)
-DEMBREE_STATIC_LIB=$(usex static-libs)
-DEMBREE_STATIC_LIB=OFF
-DEMBREE_STAT_COUNTERS=OFF
-DEMBREE_TASKING_SYSTEM:STRING=$(usex tbb "TBB" "INTERNAL")
-DEMBREE_TUTORIALS=$(usex tutorial))