Date: Wednesday, January 11, 2023 @ 23:08:00
  Author: foutrelis
Revision: 466355

upgpkg: mesa-amber 21.3.9-4: build without LLVM

The Amber branch will most likely not be seeing any support for new LLVM
versions. Go ahead and disable it like Gentoo does.

Frederik also wrote the following:

< freswa|M> foutrelis: Found this bug thread about disabling llvm in
                       mesa builds: https://bugs.freebsd.org/238906
< freswa|M> From a quick read llvm seems to be used in radeon gallium
            and vulkan drivers as well as in software acceleration as
            llvmpipe. Afaik those drivers are provided by mesa anyways.
            Software acceleration is a thing for VMs but people have no
            requirement for mesa-amber in those environments.

Modified:
  mesa-amber/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-11 20:52:27 UTC (rev 466354)
+++ PKGBUILD    2023-01-11 23:08:00 UTC (rev 466355)
@@ -6,10 +6,10 @@
 pkgname=mesa-amber
 pkgdesc="classic OpenGL (non-Gallium3D) drivers"
 pkgver=21.3.9
-pkgrel=3
+pkgrel=4
 arch=('x86_64')
 makedepends=('python-mako' 'libxml2' 'libx11' 'xorgproto' 'libdrm' 
'libxshmfence' 'libxxf86vm'
-             'libxdamage' 'wayland' 'wayland-protocols' 'zstd' 'elfutils' 
'llvm'
+             'libxdamage' 'wayland' 'wayland-protocols' 'zstd' 'elfutils'
              'libglvnd' 'libunwind' 'libxrandr' 'valgrind' 'cmake' 'meson')
 url="https://www.mesa3d.org/";
 license=('custom')
@@ -42,7 +42,7 @@
     -D glvnd=auto \
     -D glx=dri \
     -D libunwind=enabled \
-    -D llvm=enabled \
+    -D llvm=disabled \
     -D lmsensors=disabled \
     -D osmesa=true \
     -D shared-glapi=enabled \
@@ -57,7 +57,7 @@
 }
 
 package() {
-  depends=('libglvnd' 'libdrm' 'llvm-libs' 'zstd' 'wayland' 'libxshmfence' 
'libxxf86vm' 'libxfixes')
+  depends=('libglvnd' 'libdrm' 'zstd' 'wayland' 'libxshmfence' 'libxxf86vm' 
'libxfixes')
   conflicts=('mesa')
   provides=("mesa=${pkgver}" "opengl-driver")
 

Reply via email to