Skip to content

Commit

Permalink
media-libs/mesa: Disable intel-rt on x86
Browse files Browse the repository at this point in the history
In commit 911669b ("media-libs/mesa: Limit intel-rt to native ABI")
I failed to consider regular old 32-bit x86 platforms.

Closes: https://bugs.gentoo.org/932875
Signed-off-by: Matt Turner <[email protected]>
  • Loading branch information
mattst88 committed May 31, 2024
1 parent a328244 commit e5fba1a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion media-libs/mesa/mesa-24.1.0-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,10 @@ multilib_src_configure() {
emesonargs+=(-Dglx=disabled)
fi

if [[ "${ABI}" == amd64 ]]; then
emesonargs+=($(meson_feature video_cards_intel intel-rt))
fi

use debug && EMESON_BUILDTYPE=debug

emesonargs+=(
Expand All @@ -433,7 +437,6 @@ multilib_src_configure() {
$(meson_use osmesa)
$(meson_use selinux)
$(meson_feature unwind libunwind)
$(meson_native_use_feature video_cards_intel intel-rt)
$(meson_feature zstd)
$(meson_use cpu_flags_x86_sse2 sse2)
-Dintel-clc=$(usex video_cards_intel system auto)
Expand Down
5 changes: 4 additions & 1 deletion media-libs/mesa/mesa-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,10 @@ multilib_src_configure() {
emesonargs+=(-Dglx=disabled)
fi

if [[ "${ABI}" == amd64 ]]; then
emesonargs+=($(meson_feature video_cards_intel intel-rt))
fi

use debug && EMESON_BUILDTYPE=debug

emesonargs+=(
Expand All @@ -433,7 +437,6 @@ multilib_src_configure() {
$(meson_use osmesa)
$(meson_use selinux)
$(meson_feature unwind libunwind)
$(meson_native_use_feature video_cards_intel intel-rt)
$(meson_feature zstd)
$(meson_use cpu_flags_x86_sse2 sse2)
-Dintel-clc=$(usex video_cards_intel system auto)
Expand Down

0 comments on commit e5fba1a

Please sign in to comment.