[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/22: gnu: mesa: Fix build on arm architectures.
From: |
guix-commits |
Subject: |
14/22: gnu: mesa: Fix build on arm architectures. |
Date: |
Mon, 4 Nov 2024 21:14:11 -0500 (EST) |
podiki pushed a commit to branch mesa-updates
in repository guix.
commit 6d82e8182c015fe69dbef4bfa808c268a36981ad
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Sep 10 12:05:01 2024 +0300
gnu: mesa: Fix build on arm architectures.
* gnu/packages/gl.scm (mesa)[inputs]: When building for an arm platform
add python-pycparser.
[arguments]: When building for aarch64 or armhf don't add kmsro as a
gallium driver.
* gnu/packages/python-xyz.scm (python-pycparser): Mark as a dependency
for mesa.
Change-Id: I61182157418a6667fcbb0d4280c959a708119b0d
---
gnu/packages/gl.scm | 10 +++++++---
gnu/packages/python-xyz.scm | 1 +
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 1262d25137..c977c03949 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -348,6 +348,10 @@ also known as DXTn or DXTC) for Mesa.")
python-pyyaml
python-wrapper
(@ (gnu packages base) which))
+ (if (target-arm?)
+ ;; Needed for etnaviv.
+ (list python-pycparser)
+ '())
(if (%current-target-system)
(list cmake-minimal-cross
pkg-config-for-build
@@ -362,11 +366,11 @@ also known as DXTn or DXTC) for Mesa.")
#$@(cond
((target-aarch64?)
;; This includes more drivers than "auto": asahi, r300, r600
- '("-Dgallium-drivers=asahi,etnaviv,freedreno,kmsro,lima,\
-nouveau,panfrost,r300,r600,svga,softpipe,llvmpipe,tegra,v3d,vc4,virgl,zink"))
+ '("-Dgallium-drivers=asahi,etnaviv,freedreno,lima,nouveau,\
+panfrost,r300,r600,svga,softpipe,llvmpipe,tegra,v3d,vc4,virgl,zink"))
((target-arm32?)
;; This includes more drivers than "auto": r300, r600
- '("-Dgallium-drivers=etnaviv,freedreno,kmsro,lima,nouveau,\
+ '("-Dgallium-drivers=etnaviv,freedreno,lima,nouveau,\
panfrost,r300,r600,svga,softpipe,llvmpipe,tegra,v3d,vc4,virgl,zink"))
((or (target-ppc64le?) (target-ppc32?) (target-riscv64?))
;; This include more drivers than "auto": svga
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7ebe94716a..5083473c08 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10987,6 +10987,7 @@ data, and scientific formats.")
a multithreaded image-processing system with low memory needs.")
(license license:expat)))
+;; WARNING: This package is a dependency of mesa.
(define-public python-pycparser
(package
(name "python-pycparser")
- 01/22: gnu: libdrm: Update to 2.4.123., (continued)
- 01/22: gnu: libdrm: Update to 2.4.123., guix-commits, 2024/11/04
- 02/22: gnu: wayland-protocols: Update to 1.37., guix-commits, 2024/11/04
- 05/22: gnu: volk: Hard-code path of vulkan-loader for dynamic loading, guix-commits, 2024/11/04
- 07/22: gnu: llvm-for-mesa: Build all targets., guix-commits, 2024/11/04
- 08/22: gnu: mesa: Update to 24.2.2., guix-commits, 2024/11/04
- 17/22: gnu: qtwayland: Fix build., guix-commits, 2024/11/04
- 13/22: gnu: wlroots: Update to 0.18., guix-commits, 2024/11/04
- 16/22: gnu: gtk-layer-shell: Update to 0.9.0., guix-commits, 2024/11/04
- 15/22: gnu: qtwayland-6: Fix build., guix-commits, 2024/11/04
- 09/22: gnu: mesa: Update configure flags., guix-commits, 2024/11/04
- 14/22: gnu: mesa: Fix build on arm architectures.,
guix-commits <=
- 20/22: gnu: mesa: Update to 24.2.4., guix-commits, 2024/11/04
- 21/22: gnu: sdl2: Update to 2.30.8., guix-commits, 2024/11/04
- 22/22: gnu: mesa: Update to 24.2.5., guix-commits, 2024/11/04
- 12/22: gnu: wlroots: Remove unneeded hwdata patch., guix-commits, 2024/11/04
- 10/22: gnu: libinput: Update to 1.26.2., guix-commits, 2024/11/04
- 04/22: gnu: vulkan-headers: Hard-code libvulkan.so file name., guix-commits, 2024/11/04
- 06/22: gnu: llvm-for-mesa: Update to llvm-18., guix-commits, 2024/11/04
- 11/22: gnu: wayland: Update to 1.23.1., guix-commits, 2024/11/04
- 18/22: gnu: mesa: Enable NVK driver for x86_64 architecture., guix-commits, 2024/11/04
- 19/22: gnu: mesa: Update to 24.2.3., guix-commits, 2024/11/04