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


Commits:
fd39b674 by Keith Packard at 2021-01-21T08:14:19-08:00
debian: Build most drivers on riscv64 too

RISC-V supports everything we need to build most of the usual cast of
drivers.

Signed-off-by: Keith Packard <[email protected]>

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+mesa (20.3.3-2) UNRELEASED; urgency=medium
+
+  * Build most drivers for riscv64 targets
+
+ -- keithp <[email protected]>  Tue, 19 Jan 2021 17:28:10 -0800
+
 mesa (20.3.3-1) unstable; urgency=medium
 
   * New upstream release.


=====================================
debian/control
=====================================
@@ -6,7 +6,7 @@ Uploaders: Andreas Boll <[email protected]>
 Standards-Version: 4.1.4
 Build-Depends:
  debhelper-compat (= 12),
- glslang-tools [amd64 arm64 armel armhf i386 mips64el mipsel powerpc ppc64 
ppc64el s390x sparc64 x32],
+ glslang-tools [amd64 arm64 armel armhf i386 mips64el mipsel powerpc ppc64 
ppc64el riscv64 s390x sparc64 x32],
  meson (>= 0.45),
  quilt (>= 0.63-8.2~),
  pkg-config,
@@ -20,7 +20,7 @@ Build-Depends:
  libxext-dev,
  libva-dev (>= 1.6.0) [linux-any kfreebsd-any] <!pkg.mesa.nolibva>,
  libvdpau-dev (>= 1.1.1) [linux-any kfreebsd-any],
- libvulkan-dev [amd64 arm64 armel armhf i386 mips64el mipsel powerpc ppc64 
ppc64el s390x sparc64 x32],
+ libvulkan-dev [amd64 arm64 armel armhf i386 mips64el mipsel powerpc ppc64 
ppc64el riscv64 s390x sparc64 x32],
  x11proto-dev,
  linux-libc-dev (>= 2.6.31) [linux-any],
  libx11-xcb-dev,
@@ -40,13 +40,13 @@ Build-Depends:
  python3-setuptools,
  flex,
  bison,
- libelf-dev [amd64 arm64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 
mips64el mipsel powerpc ppc64 ppc64el s390x sparc64],
+ 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-11-dev (>= 1:11.0.0~) [amd64 arm64 armel armhf i386 mips64el mipsel 
powerpc ppc64 ppc64el s390x sparc64],
- libclang-11-dev (>= 1:11.0.0~) [amd64 arm64 armel armhf i386 mips64el mipsel 
powerpc ppc64 ppc64el s390x sparc64],
- libclang-cpp11-dev (>= 1:11.0.0~) [amd64 arm64 armel armhf i386 mips64el 
mipsel powerpc ppc64 ppc64el s390x sparc64],
- libclc-dev (>= 0.2.0+git20190827-7~) [amd64 arm64 armel armhf i386 mips64el 
mipsel powerpc ppc64 ppc64el s390x sparc64],
+ llvm-11-dev (>= 1:11.0.0~) [amd64 arm64 armel armhf i386 mips64el mipsel 
powerpc ppc64 ppc64el riscv64 s390x sparc64],
+ libclang-11-dev (>= 1:11.0.0~) [amd64 arm64 armel armhf i386 mips64el mipsel 
powerpc ppc64 ppc64el riscv64 s390x sparc64],
+ libclang-cpp11-dev (>= 1:11.0.0~) [amd64 arm64 armel armhf i386 mips64el 
mipsel powerpc ppc64 ppc64el riscv64 s390x sparc64],
+ libclc-dev (>= 0.2.0+git20190827-7~) [amd64 arm64 armel armhf i386 mips64el 
mipsel powerpc ppc64 ppc64el riscv64 s390x sparc64],
  wayland-protocols (>= 1.9),
  zlib1g-dev,
  libglvnd-dev (>= 1.3.2),


=====================================
debian/rules
=====================================
@@ -54,7 +54,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
 
@@ -100,7 +100,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
@@ -114,7 +114,7 @@ else
   endif
 
   # build vulkan layers where Vulkan loader is available
-  ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armel armhf i386 mips64el 
mipsel powerpc ppc64 ppc64el s390x sparc64 x32))
+  ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armel armhf i386 mips64el 
mipsel powerpc ppc64 ppc64el riscv64 s390x sparc64 x32))
        GALLIUM_DRIVERS += zink
        confflags_VULKAN += -Dvulkan-device-select-layer=true
        confflags_VULKAN += -Dvulkan-overlay-layer=true



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

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


Reply via email to