summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXuelian Bai <xuelian.bai@samsung.com>2021-10-11 16:26:25 +0800
committerXuelian Bai <xuelian.bai@samsung.com>2024-01-18 09:31:56 +0800
commitdca581a6ac7dc43689d5ce61d1e3fbb228051232 (patch)
tree82fe8ba5617ef7e1abc0259036f3b009156acda8
parent1e45950ae6ffdd35bbb2715364ea6465aa1b9855 (diff)
downloadmesa-dca581a6ac7dc43689d5ce61d1e3fbb228051232.tar.gz
mesa-dca581a6ac7dc43689d5ce61d1e3fbb228051232.tar.bz2
mesa-dca581a6ac7dc43689d5ce61d1e3fbb228051232.zip
Upgrade to 21.2.3
Add llvm support, since SWR in new version needs llvm Change-Id: I196cb2a89e1080c952172590421bac3f61680a74 Signed-Off-by: Xuelian Bai <xuelian.bai@samsung.com>
-rw-r--r--packaging/mesa.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/mesa.spec b/packaging/mesa.spec
index 9171a2de939..d7d54f01b59 100644
--- a/packaging/mesa.spec
+++ b/packaging/mesa.spec
@@ -11,6 +11,9 @@ Source1002: 99-GPU-Acceleration.rules
BuildRequires: bison
BuildRequires: flex
+BuildRequires: llvm
+BuildRequires: llvm-devel
+BuildRequires: llvm-static-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(libdrm) >= 2.4.75
@@ -75,6 +78,7 @@ meson --prefix %{_hal_prefix} build/ \
-Dgallium-xvmc=false \
-Dglx=disabled \
-Ddri3=false \
+ -Dllvm=enabled \
%if "%{USE_GBM}" == "1"
-Dgbm=true \
%else