aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gl.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 4d3828ebc2..99d2ec6cdb 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -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)