summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXuelian Bai <xuelian.bai@samsung.com>2023-04-27 11:30:19 +0800
committerXuelian Bai <xuelian.bai@samsung.com>2023-04-27 11:32:18 +0800
commit902cee5daa32da589313381a1e5843467b142106 (patch)
treed310cfb9b752f726c35c343195349ce00db553f2
parentc922b95f3be7dca862631337993a098976672167 (diff)
downloadmesa-902cee5daa32da589313381a1e5843467b142106.tar.gz
mesa-902cee5daa32da589313381a1e5843467b142106.tar.bz2
mesa-902cee5daa32da589313381a1e5843467b142106.zip
Disable llvmpipe, fallback to traditional swrast softpipe. Change-Id: I88346e043e27364d4981770bb88df12485070f65 Signed-off-by: Xuelian Bai <xuelian.bai@samsung.com>
-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} \