mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
gnu: mesa: Customize build flags based on architecture.
* gnu/packages/gl.scm (mesa)[arguments]: On armhf-linux and aarch64-linux remove the i915 gallium driver and add freedreno and vc4.
This commit is contained in:
parent
c5e91014a2
commit
2a8b89c27f
1 changed files with 5 additions and 1 deletions
|
@ -243,7 +243,11 @@ (define-public mesa
|
|||
("python" ,python-2)))
|
||||
(arguments
|
||||
`(#:configure-flags
|
||||
'("--with-gallium-drivers=i915,r300,r600,svga,swrast,nouveau,virgl"
|
||||
'(,@(match (%current-system)
|
||||
((or "armhf-linux" "aarch64-linux")
|
||||
'("--with-galluim-drivers=freedreno,nouveau,r300,r600,svga,svrast,vc4,virgl"))
|
||||
(_
|
||||
'("--with-gallium-drivers=i915,nouveau,r300,r600,svga,swrast,virgl")))
|
||||
;; Enable various optional features. TODO: opencl requires libclc,
|
||||
;; omx requires libomxil-bellagio
|
||||
"--with-egl-platforms=x11,drm,wayland"
|
||||
|
|
Loading…
Reference in a new issue