Upgrade to 21.2.3
authorXuelian Bai <xuelian.bai@samsung.com>
Mon, 11 Oct 2021 08:26:25 +0000 (16:26 +0800)
committerXuelian Bai <xuelian.bai@samsung.com>
Thu, 18 Jan 2024 01:31:56 +0000 (09:31 +0800)
Add llvm support, since SWR in new version needs llvm

Change-Id: I196cb2a89e1080c952172590421bac3f61680a74
Signed-Off-by: Xuelian Bai <xuelian.bai@samsung.com>
packaging/mesa.spec

index 9171a2d..d7d54f0 100644 (file)
@@ -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