[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/16: gnu: Add mesa-opencl.
From: |
guix-commits |
Subject: |
03/16: gnu: Add mesa-opencl. |
Date: |
Wed, 26 Jun 2019 10:33:47 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit fae429424603326a69a2e428c0b61ccbe2520bb5
Author: Ricardo Wurmus <address@hidden>
Date: Mon Jun 24 14:27:52 2019 +0200
gnu: Add mesa-opencl.
* gnu/packages/gl.scm (mesa-opencl): New variable.
---
gnu/packages/gl.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 96e7fc7..4d3828e 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -399,6 +399,21 @@ device drivers allows Mesa to be used in many different
environments ranging
from software emulation to complete hardware acceleration for modern GPUs.")
(license license:x11)))
+(define-public mesa-opencl
+ (package
+ (inherit mesa)
+ (name "mesa-opencl")
+ (arguments
+ (substitute-keyword-arguments (package-arguments mesa)
+ ((#:configure-flags flags)
+ `(cons "-Dgallium-opencl=standalone" ,flags))))
+ (inputs
+ `(("libclc" ,libclc)
+ ,@(package-inputs mesa)))
+ (native-inputs
+ `(("clang" ,clang)
+ ,@(package-native-inputs mesa)))))
+
(define-public mesa-headers
(package
(inherit mesa)
- branch master updated (072e986 -> 49ad11e), guix-commits, 2019/06/26
- 04/16: gnu: Add mesa-opencl-icd., guix-commits, 2019/06/26
- 03/16: gnu: Add mesa-opencl.,
guix-commits <=
- 10/16: gnu: Add python-pytest-checkdocs., guix-commits, 2019/06/26
- 12/16: gnu: Add python-pytest-shutil., guix-commits, 2019/06/26
- 11/16: gnu: Add python-pytest-flake8., guix-commits, 2019/06/26
- 06/16: gnu: Add python-contextlib2., guix-commits, 2019/06/26
- 08/16: gnu: Add python-zipp., guix-commits, 2019/06/26
- 07/16: gnu: Add python-setuptools-git., guix-commits, 2019/06/26
- 09/16: gnu: Add python-importlib-metadata., guix-commits, 2019/06/26
- 14/16: gnu: Add python-pytest-virtualenv., guix-commits, 2019/06/26
- 02/16: gnu: Add libclc., guix-commits, 2019/06/26
- 13/16: gnu: Add python-pytest-fixture-config., guix-commits, 2019/06/26