From 37cb4e5b8ebea5bc097730a0476bab8d19d5a15b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 24 Jun 2019 15:47:32 +0200 Subject: gnu: Add mesa-opencl-icd. * gnu/packages/gl.scm (mesa-opencl-icd): New variable. --- gnu/packages/gl.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gnu/packages') 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) -- cgit v1.2.3