gnu: Add mesa-opencl-icd.

* gnu/packages/gl.scm (mesa-opencl-icd): New variable.
This commit is contained in:
Ricardo Wurmus 2019-06-24 15:47:32 +02:00 committed by Ricardo Wurmus
parent fae4294246
commit 37cb4e5b8e
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 10 additions and 0 deletions

View File

@ -414,6 +414,16 @@ from software emulation to complete hardware acceleration for modern GPUs.")
`(("clang" ,clang)
,@(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
(package
(inherit mesa)