aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/arrayfire.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/arrayfire.scm
parent06896867d9adc2e060e49222f286b306ef920e92 (diff)
downloadguix-bioinformatics-e1880fa256769bd201ead3746d612fb3283211b0.tar.gz
gn: Remove some duplicate packages
Diffstat (limited to 'gn/packages/arrayfire.scm')
-rw-r--r--gn/packages/arrayfire.scm71
1 files changed, 4 insertions, 67 deletions
diff --git a/gn/packages/arrayfire.scm b/gn/packages/arrayfire.scm
index 39e7899..c230dc4 100644
--- a/gn/packages/arrayfire.scm
+++ b/gn/packages/arrayfire.scm
@@ -52,7 +52,10 @@
#:use-module (gnu packages ruby)
#:use-module (gnu packages xorg)
#:use-module (gnu packages version-control)
- #:use-module (gnu packages linux))
+ #:use-module (gnu packages linux)
+ #:use-module (gnu packages opencl)
+ #:use-module (gn packages ocl-headers)
+ #:use-module (gn packages ocl-icd))
(define-public arrayfire
(package
@@ -292,69 +295,3 @@
(synopsis "Peer-reviewed portable C++ source libraries,BoostCompute")
(description "Peer-reviewed portable C++ source libraries,BoostCompute")
(license (list license:x11-style))))
-
-(define-public ocl-icd
- (package
- (name "ocl-icd")
- (version "2.2.9")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://forge.imag.fr/frs/download.php/716/ocl-icd-"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1rgaixwnxmrq2aq4kcdvs0yx7i6krakarya9vqs7qwsv5hzc32hc"))))
- (inputs `(("zip" ,zip)
- ("autoconf" ,autoconf)
- ("automake" ,automake)
- ("ruby" ,ruby)
- ("libtool" ,libtool)
- ("opencl-headers" ,opencl-headers)
- ("libgcrypt" ,libgcrypt)))
- (build-system gnu-build-system)
- (arguments
- '(#:phases (modify-phases %standard-phases
- (add-after 'unpack `bootstrap
- (lambda _
- (zero? (system* "autoreconf" "-vfi")))))))
- (home-page "https://forge.imag.fr/projects/ocl-icd/")
- (synopsis "OpenCL implementations are provided as ICD (Installable Client Driver).")
- (description "OpenCL implementations are provided as ICD (Installable Client Driver).
- 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 (list license:gpl2 license:ruby))))
-
-(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 (list license:gpl2)))))