mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 03:29:40 -05:00
gnu: Add mesa-opencl-icd.
* gnu/packages/gl.scm (mesa-opencl-icd): New variable.
This commit is contained in:
parent
fae4294246
commit
37cb4e5b8e
1 changed files with 10 additions and 0 deletions
|
@ -414,6 +414,16 @@ (define-public mesa-opencl
|
||||||
`(("clang" ,clang)
|
`(("clang" ,clang)
|
||||||
,@(package-native-inputs mesa)))))
|
,@(package-native-inputs mesa)))))
|
||||||
|
|
||||||
|
(define-public mesa-opencl-icd
|
||||||
|
(package
|
||||||
|
(inherit mesa-opencl)
|
||||||
|
(name "mesa-opencl-icd")
|
||||||
|
(arguments
|
||||||
|
(substitute-keyword-arguments (package-arguments mesa)
|
||||||
|
((#:configure-flags flags)
|
||||||
|
`(cons "-Dgallium-opencl=icd"
|
||||||
|
,(delete "-Dgallium-opencl=standalone" flags)))))))
|
||||||
|
|
||||||
(define-public mesa-headers
|
(define-public mesa-headers
|
||||||
(package
|
(package
|
||||||
(inherit mesa)
|
(inherit mesa)
|
||||||
|
|
Loading…
Reference in a new issue