mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-28 02:54:51 +00:00
Do not enable intel-clc for ELN/RHEL
libclc isn't available there. Fixes build failure on ELN.
This commit is contained in:
parent
42315d0973
commit
c9de8a8e50
1 changed files with 6 additions and 1 deletions
|
@ -14,6 +14,9 @@
|
||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
%global with_crocus 1
|
%global with_crocus 1
|
||||||
%global with_i915 1
|
%global with_i915 1
|
||||||
|
%if !0%{?rhel}
|
||||||
|
%global with_intel_clc 1
|
||||||
|
%endif
|
||||||
%global with_iris 1
|
%global with_iris 1
|
||||||
%global with_xa 1
|
%global with_xa 1
|
||||||
%global platform_vulkan ,intel,intel_hasvk
|
%global platform_vulkan ,intel,intel_hasvk
|
||||||
|
@ -131,7 +134,7 @@ BuildRequires: pkgconfig(valgrind)
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-mako
|
BuildRequires: python3-mako
|
||||||
%ifarch %{ix86} x86_64
|
%if 0%{?with_intel_clc}
|
||||||
BuildRequires: python3-ply
|
BuildRequires: python3-ply
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: vulkan-headers
|
BuildRequires: vulkan-headers
|
||||||
|
@ -374,7 +377,9 @@ export RUSTFLAGS="%build_rustflags"
|
||||||
-Dglx=dri \
|
-Dglx=dri \
|
||||||
-Degl=enabled \
|
-Degl=enabled \
|
||||||
-Dglvnd=true \
|
-Dglvnd=true \
|
||||||
|
%if 0%{?with_intel_clc}
|
||||||
-Dintel-clc=enabled \
|
-Dintel-clc=enabled \
|
||||||
|
%endif
|
||||||
-Dmicrosoft-clc=disabled \
|
-Dmicrosoft-clc=disabled \
|
||||||
-Dllvm=enabled \
|
-Dllvm=enabled \
|
||||||
-Dshared-llvm=enabled \
|
-Dshared-llvm=enabled \
|
||||||
|
|
Loading…
Reference in a new issue