aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/ocl-icd.scm
diff options
context:
space:
mode:
authorEfraim Flashner2019-08-05 07:04:50 -0500
committerEfraim Flashner2019-08-05 07:07:35 -0500
commite1880fa256769bd201ead3746d612fb3283211b0 (patch)
tree3889676e08c67fc1d539556e411ead4a6e508688 /gn/packages/ocl-icd.scm
parent06896867d9adc2e060e49222f286b306ef920e92 (diff)
downloadguix-bioinformatics-e1880fa256769bd201ead3746d612fb3283211b0.tar.gz
gn: Remove some duplicate packages
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))))