gnu: mesa: Enable more gallium drivers.

* gnu/packages/gl.scm (mesa)[arguments]: Adjust the configure-flag to
also build the svga gallium driver on aarch64 and the freedreno and svga
drivers on armhf.

Change-Id: I129a66184e2728e61a99bae442db908c5c0f84b0
This commit is contained in:
Efraim Flashner 2024-04-04 16:30:20 +03:00
parent 31411b4f32
commit 764e5afbea
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -353,14 +353,10 @@ (define-public mesa
#:configure-flags
#~(list
#$@(cond
((target-aarch64?)
;; TODO: Fix svga driver for non-Intel architectures.
;; TODO: Enable svga driver for non-Intel architectures.
((or (target-aarch64?) (target-arm32?))
'("-Dgallium-drivers=etnaviv,freedreno,kmsro,lima,nouveau,\
panfrost,r300,r600,swrast,tegra,v3d,vc4,virgl,zink"))
((target-arm32?)
;; Freedreno FTBFS when built on a 64-bit machine.
'("-Dgallium-drivers=etnaviv,kmsro,lima,nouveau,panfrost,\
r300,r600,swrast,tegra,v3d,vc4,virgl,zink"))
panfrost,r300,r600,svga,swrast,tegra,v3d,vc4,virgl,zink"))
((or (target-ppc64le?) (target-ppc32?) (target-riscv64?))
'("-Dgallium-drivers=nouveau,r300,r600,radeonsi,swrast,virgl,zink"))
(else