aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2021-08-11 09:40:54 +0200
committerLars-Dominik Braun <lars@6xq.net>2021-08-27 20:50:52 +0200
commitac52d4b95cac6b2eae67f4188cfc2a1db46cfd6e (patch)
treee8d7a487d479784805f2529608810030d93a89d7 /gnu/packages
parentad7d478d86590899fedb037dd6e3fd3960231d59 (diff)
downloadguix-ac52d4b95cac6b2eae67f4188cfc2a1db46cfd6e.tar.gz
guix-ac52d4b95cac6b2eae67f4188cfc2a1db46cfd6e.zip
gnu: opencl-headers: Update to 2021.06.30 and switch to CMake.
* gnu/packages/opencl.scm (opencl-headers)[version]: Update to 2021.06.30. [build-system]: Switch to CMake.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/opencl.scm13
1 files changed, 7 insertions, 6 deletions
diff --git a/gnu/packages/opencl.scm b/gnu/packages/opencl.scm
index e95d19db47..4535f03959 100644
--- a/gnu/packages/opencl.scm
+++ b/gnu/packages/opencl.scm
@@ -48,10 +48,13 @@
;; tests that require such devices are all disabled.
;; Check https://lists.gnu.org/archive/html/guix-devel/2018-04/msg00293.html
+;; If you update either of opencl-headers, opencl-clhpp or opencl-icd-loader
+;; note that they are released together (lockstep) and must be updated
+;; together.
(define-public opencl-headers
(package
(name "opencl-headers")
- (version "2020.12.18")
+ (version "2021.06.30")
(source
(origin
(method git-fetch)
@@ -60,11 +63,9 @@
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1zslxfzvbb1mrzmsik4pjzj88ds8y3p94ry5nnrnkhv6qm4n4lw9"))))
- (build-system copy-build-system)
- (arguments
- '(#:install-plan
- '(("CL" "include/")))) ; TODO: add phase for tests
+ (base32 "1nrvx0x9r1nz1qpmzbgffnn9h9pn2fwcxsksf101bkpmqziq5lii"))))
+ (build-system cmake-build-system)
+ (arguments `(#:tests? #f)) ; Not enabled during build.
(synopsis "The Khronos OpenCL headers")
(description
"This package provides the C headers by Khronos for OpenCL programming.")
-06-26daemon: Rename 'NIX_CONF_DIR' to 'GUIX_CONFIGURATION_DIRECTORY'....David Craven 2016-05-31daemon: Remove unused XML output code....Ludovic Courtès 2016-05-24build: Use "%D%" in Makefile fragments....Mathieu Lirzin 2016-04-21build: Move 'Makefile' fragments to subdirectories....Mathieu Lirzin