[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/08: gnu: Add opencl-clhpp.
From: |
Ludovic Courtès |
Subject: |
05/08: gnu: Add opencl-clhpp. |
Date: |
Mon, 25 Jun 2018 17:36:04 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit f69c1a1832a393586eb6ab4e0d9776b19dcc6782
Author: Fis Trivial <address@hidden>
Date: Sat May 12 19:49:36 2018 +0000
gnu: Add opencl-clhpp.
* gnu/packages/opencl.scm (opencl-clhpp): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/opencl.scm | 40 +++++++++++++++++++++++++++++++++++++++-
1 file changed, 39 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/opencl.scm b/gnu/packages/opencl.scm
index 2a21fa6..b31fa09 100644
--- a/gnu/packages/opencl.scm
+++ b/gnu/packages/opencl.scm
@@ -18,9 +18,12 @@
(define-module (gnu packages opencl)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system cmake)
+ #:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix packages)
- #:use-module ((guix licenses) #:prefix license:))
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (gnu packages python))
;; This file adds OpenCL implementation related packages. Due to the fact that
;; OpenCL devices are not available during build (store environment), tests are
@@ -80,3 +83,38 @@ programming.")
(make-opencl-headers "1" "0"))
(define-public opencl-headers opencl-headers-2.2)
+
+(define-public opencl-clhpp
+ (package
+ (name "opencl-clhpp")
+ (version "2.0.10")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/KhronosGroup/OpenCL-CLHPP/archive/v"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0awg6yznbz3h285kmnd47fykx2qa34a07sr4x1657yn3jmi4a9zs"))
+ (file-name (string-append name "-" version ".tar.gz"))))
+ (native-inputs
+ `(("python" ,python-wrapper)))
+ (propagated-inputs
+ `(("opencl-headers" ,opencl-headers)))
+ (arguments
+ `(#:configure-flags
+ (let ((out (assoc-ref %outputs "out")))
+ (list
+ "-DBUILD_EXAMPLES=OFF"
+ "-DBUILD_TESTS=OFF"
+ (string-append "-DCMAKE_INSTALL_PREFIX="
+ (assoc-ref %outputs "out")
+ "/include")))
+ ;; regression tests requires a lot more dependencies
+ #:tests? #f))
+ (build-system cmake-build-system)
+ (home-page "http://github.khronos.org/OpenCL-CLHPP/")
+ (synopsis "Khronos OpenCL-CLHPP")
+ (description
+ "This package provides the @dfn{host API} C++ headers for OpenCL.")
+ (license license:expat)))
- branch master updated (887fe1f -> 87d1b7b), Ludovic Courtès, 2018/06/25
- 02/08: gnu: emacs-emms-player-simple-mpv: Deprecate in favor of Emms 5.0+., Ludovic Courtès, 2018/06/25
- 03/08: gnu: emacs-emms-player-mpv: Deprecate in favor of Emms 5.0+., Ludovic Courtès, 2018/06/25
- 06/08: gnu: Add stalin., Ludovic Courtès, 2018/06/25
- 08/08: gnu: Add clyrics., Ludovic Courtès, 2018/06/25
- 05/08: gnu: Add opencl-clhpp.,
Ludovic Courtès <=
- 07/08: gnu: guile-simple-zmq: Update to commit '1f3b7c0'., Ludovic Courtès, 2018/06/25
- 04/08: gnu: Add opencl-headers., Ludovic Courtès, 2018/06/25
- 01/08: pack: Squashfs build expression refers to (guix store database) & co., Ludovic Courtès, 2018/06/25