aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/ocl-icd.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gn/packages/ocl-icd.scm')
-rw-r--r--gn/packages/ocl-icd.scm36
1 files changed, 2 insertions, 34 deletions
diff --git a/gn/packages/ocl-icd.scm b/gn/packages/ocl-icd.scm
index 79b4853..17e85d7 100644
--- a/gn/packages/ocl-icd.scm
+++ b/gn/packages/ocl-icd.scm
@@ -30,6 +30,8 @@
#:use-module (gnu packages compression)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages ruby)
+ #:use-module (gnu packages opencl)
+ #:use-module (gn packages ocl-headers)
#:use-module (guix git-download))
(define-public ocl-icd
@@ -63,37 +65,3 @@
An OpenCL program can use several ICD thanks to the use of an ICD Loader as provided by this project.
This free ICD Loader can load any (free or non free) ICD")
(license license:gpl2)))
-
- (define-public opencl-headers
-(let ((commit "c1770dc"))
- (package
- (name "opencl-headers")
- (version (string-append "2.1-" commit ))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/KhronosGroup/OpenCL-Headers.git")
- (commit commit)))
- (file-name (string-append name "-" commit))
- (sha256
- (base32
- "0m9fkblqja0686i2jjqiszvq3df95gp01a2674xknlmkd6525rck"))))
- (propagated-inputs '())
- (inputs '())
- (native-inputs '())
- (build-system gnu-build-system)
- (arguments
- '(#:phases
- (modify-phases %standard-phases
- (delete 'configure)
- (delete 'build)
- (delete 'check)
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (copy-recursively "." (string-append
- (assoc-ref outputs "out")
- "/include/CL")))))))
- (synopsis "The Khronos OpenCL headers")
- (description "This package provides the Khronos OpenCL headers")
- (home-page "https://www.khronos.org/registry/cl/")
- (license license:gpl2))))