mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: mesa: Build LLVM Gallium drivers.
Fixes <https://bugs.gnu.org/25953>. * gnu/packages/gl.scm (mesa)[inputs]: Add llvm. [arguments]: Build LLVM Gallium drivers.
This commit is contained in:
parent
b773e9b005
commit
093c6f8bc7
1 changed files with 5 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
;;; Copyright © 2014, 2016 David Thompson <davet@gnu.org>
|
||||
;;; Copyright © 2014, 2015, 2016, 2017 Mark H Weaver <mhw@netris.org>
|
||||
;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
|
||||
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2016 David Thompson <davet@gnu.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
|
@ -33,6 +33,7 @@ (define-module (gnu packages gl)
|
|||
#:use-module (gnu packages gettext)
|
||||
#:use-module (gnu packages guile)
|
||||
#:use-module (gnu packages linux)
|
||||
#:use-module (gnu packages llvm)
|
||||
#:use-module (gnu packages pkg-config)
|
||||
#:use-module (gnu packages python)
|
||||
#:use-module (gnu packages video)
|
||||
|
@ -230,14 +231,15 @@ (define-public mesa
|
|||
("makedepend" ,makedepend)
|
||||
("presentproto" ,presentproto)
|
||||
("s2tc" ,s2tc)
|
||||
("llvm" ,llvm)
|
||||
("wayland" ,wayland)))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
("python" ,python-2)))
|
||||
(arguments
|
||||
`(#:configure-flags
|
||||
'(;; drop r300 from default gallium drivers, as it requires llvm
|
||||
"--with-gallium-drivers=r600,svga,swrast,nouveau,virgl"
|
||||
'("--with-gallium-drivers=i915,r300,r600,svga,swrast,nouveau,virgl"
|
||||
"--enable-gallium-llvm"
|
||||
;; Enable various optional features. TODO: opencl requires libclc,
|
||||
;; omx requires libomxil-bellagio
|
||||
"--with-egl-platforms=x11,drm,wayland"
|
||||
|
|
Loading…
Reference in a new issue