guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/16: gnu: Add mesa-opencl-icd.


From: guix-commits
Subject: 04/16: gnu: Add mesa-opencl-icd.
Date: Wed, 26 Jun 2019 10:33:47 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 37cb4e5b8ebea5bc097730a0476bab8d19d5a15b
Author: Ricardo Wurmus <address@hidden>
Date:   Mon Jun 24 15:47:32 2019 +0200

    gnu: Add mesa-opencl-icd.
    
    * gnu/packages/gl.scm (mesa-opencl-icd): New variable.
---
 gnu/packages/gl.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 4d3828e..99d2ec6 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]