summaryrefslogtreecommitdiff
path: root/packaging/mesa.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/mesa.spec')
-rw-r--r--packaging/mesa.spec15
1 files changed, 3 insertions, 12 deletions
diff --git a/packaging/mesa.spec b/packaging/mesa.spec
index 634fa7ffed8..daaf2907e75 100644
--- a/packaging/mesa.spec
+++ b/packaging/mesa.spec
@@ -9,16 +9,9 @@ Source: %{name}-%{version}.tar.gz
Source1001: %{name}.manifest
Source1002: 99-GPU-Acceleration.rules
-%define USE_LLVM 0
BuildRequires: bison
BuildRequires: flex
-%if %{USE_LLVM} == 1
-BuildRequires: llvm
-BuildRequires: llvm-devel
-BuildRequires: llvm-static-devel
-Requires: llvm
-%endif
BuildRequires: pkgconfig
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(libdrm) >= 2.4.75
@@ -54,16 +47,13 @@ ExclusiveArch:
%define USE_GBM 0
%define USE_VULKAN 1
%define VULKAN_DRIVER broadcom
-%if %{USE_LLVM} == 1
-%enable_driver llvm
-%endif
%if %{USE_GBM} == 1
%enable_driver gbm
%endif
%if %{USE_VULKAN} == 1
%enable_driver vulkan
%endif
-%define gallium_drivers "vc4,v3d,kmsro%{?!enable_llvm:,swrast}"
+%define gallium_drivers "vc4,v3d,kmsro,swrast"
%define vulkan_drivers "%{?enable_vulkan:%{VULKAN_DRIVER}}"
%define dri_drivers "auto"
%endif
@@ -102,7 +92,8 @@ meson --prefix %{_hal_prefix} build/ \
-Dgallium-xa=false \
-Dglx=disabled \
-Ddri3=false \
- -Dllvm=%{?enable_llvm:enabled}%{?!enable_llvm:disabled} \
+ -Ddraw-use-llvm=false \
+ -Dllvm=disabled \
-Dgbm=%{?enable_gbm:enabled}%{?!enable_gbm:disabled} \
-Dplatforms="tizen" \
-Dgallium-drivers=%{gallium_drivers} \