mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 03:29:40 -05:00
gnu: Add mesa-opencl.
* gnu/packages/gl.scm (mesa-opencl): New variable.
This commit is contained in:
parent
a2cc25ab96
commit
fae4294246
1 changed files with 15 additions and 0 deletions
|
@ -399,6 +399,21 @@ (define-public mesa
|
||||||
from software emulation to complete hardware acceleration for modern GPUs.")
|
from software emulation to complete hardware acceleration for modern GPUs.")
|
||||||
(license license:x11)))
|
(license license:x11)))
|
||||||
|
|
||||||
|
(define-public mesa-opencl
|
||||||
|
(package
|
||||||
|
(inherit mesa)
|
||||||
|
(name "mesa-opencl")
|
||||||
|
(arguments
|
||||||
|
(substitute-keyword-arguments (package-arguments mesa)
|
||||||
|
((#:configure-flags flags)
|
||||||
|
`(cons "-Dgallium-opencl=standalone" ,flags))))
|
||||||
|
(inputs
|
||||||
|
`(("libclc" ,libclc)
|
||||||
|
,@(package-inputs mesa)))
|
||||||
|
(native-inputs
|
||||||
|
`(("clang" ,clang)
|
||||||
|
,@(package-native-inputs mesa)))))
|
||||||
|
|
||||||
(define-public mesa-headers
|
(define-public mesa-headers
|
||||||
(package
|
(package
|
||||||
(inherit mesa)
|
(inherit mesa)
|
||||||
|
|
Loading…
Reference in a new issue