Timo Aaltonen pushed to branch debian-unstable at X Strike Force / lib / mesa


Commits:
97dc15f6 by Zhang Boyang at 2022-09-22T01:28:56+08:00
control, rules: Re-enable LLVM support on riscv64.

LLVM support on riscv64 was disabled by 9ff618fbbe24 ("Disable LLVM
support on riscv64, it doesn't have JIT. (Closes: #995618)"). Latest
LLVM has JIT support for riscv64, so re-enable it.

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -43,10 +43,10 @@ Build-Depends:
  libelf-dev [amd64 arm64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 
mips64el mipsel powerpc ppc64 ppc64el riscv64 s390x sparc64],
  libwayland-dev (>= 1.15.0) [linux-any],
  libwayland-egl-backend-dev (>= 1.15.0) [linux-any],
- llvm-14-dev [amd64 arm64 armel armhf i386 mips64el mipsel powerpc ppc64 
ppc64el s390x sparc64],
- libclang-14-dev [amd64 arm64 armel armhf i386 mips64el mipsel powerpc ppc64 
ppc64el s390x sparc64],
- libclang-cpp14-dev [amd64 arm64 armel armhf i386 mips64el mipsel powerpc 
ppc64 ppc64el s390x sparc64],
- libclc-14-dev [amd64 arm64 armel armhf i386 mips64el mipsel powerpc ppc64 
ppc64el s390x sparc64],
+ llvm-14-dev [amd64 arm64 armel armhf i386 mips64el mipsel powerpc ppc64 
ppc64el riscv64 s390x sparc64],
+ libclang-14-dev [amd64 arm64 armel armhf i386 mips64el mipsel powerpc ppc64 
ppc64el riscv64 s390x sparc64],
+ libclang-cpp14-dev [amd64 arm64 armel armhf i386 mips64el mipsel powerpc 
ppc64 ppc64el riscv64 s390x sparc64],
+ libclc-14-dev [amd64 arm64 armel armhf i386 mips64el mipsel powerpc ppc64 
ppc64el riscv64 s390x sparc64],
  wayland-protocols (>= 1.9),
  zlib1g-dev,
  libglvnd-core-dev (>= 1.3.2),
@@ -413,7 +413,7 @@ Description: Mesa Vulkan graphics drivers
 
 Package: mesa-opencl-icd
 Section: libs
-Architecture: amd64 arm64 armel armhf i386 mips64el mipsel powerpc ppc64 
ppc64el s390x sparc64
+Architecture: amd64 arm64 armel armhf i386 mips64el mipsel powerpc ppc64 
ppc64el riscv64 s390x sparc64
 Pre-Depends: ${misc:Pre-Depends}
 Depends:
  libclc-14,


=====================================
debian/rules
=====================================
@@ -62,7 +62,7 @@ else
 
   # radv/lavapipe needs LLVM and the Vulkan loader, so only build on the 
subset of
   # arches where we have LLVM enabled and where the Vulkan loader is built.
-  ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armel armhf i386 mips64el 
mipsel powerpc ppc64 ppc64el s390x sparc64))
+  ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armel armhf i386 mips64el 
mipsel powerpc ppc64 ppc64el riscv64 s390x sparc64))
        VULKAN_DRIVERS += amd swrast
   endif
 
@@ -111,7 +111,7 @@ else
 
   # LLVM is required for building r300g, radeonsi and llvmpipe drivers.
   # It's also required for building OpenCL support.
-  ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armel armhf i386 mips64el 
mipsel powerpc ppc64 ppc64el s390x sparc64))
+  ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armel armhf i386 mips64el 
mipsel powerpc ppc64 ppc64el riscv64 s390x sparc64))
        GALLIUM_DRIVERS += radeonsi
        confflags_GALLIUM += -Dllvm=enabled
        confflags_GALLIUM += -Dgallium-opencl=icd



View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/mesa/-/commit/97dc15f6e03a62073141a4fdcdda8be93e773aad

-- 
View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/mesa/-/commit/97dc15f6e03a62073141a4fdcdda8be93e773aad
You're receiving this email because of your account on salsa.debian.org.


Reply via email to