mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
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.
This commit is contained in:
parent
ad7d478d86
commit
ac52d4b95c
1 changed files with 7 additions and 6 deletions
|
@ -48,10 +48,13 @@ (define-module (gnu packages opencl)
|
||||||
;; tests that require such devices are all disabled.
|
;; tests that require such devices are all disabled.
|
||||||
;; Check https://lists.gnu.org/archive/html/guix-devel/2018-04/msg00293.html
|
;; 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
|
(define-public opencl-headers
|
||||||
(package
|
(package
|
||||||
(name "opencl-headers")
|
(name "opencl-headers")
|
||||||
(version "2020.12.18")
|
(version "2021.06.30")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -60,11 +63,9 @@ (define-public opencl-headers
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1zslxfzvbb1mrzmsik4pjzj88ds8y3p94ry5nnrnkhv6qm4n4lw9"))))
|
(base32 "1nrvx0x9r1nz1qpmzbgffnn9h9pn2fwcxsksf101bkpmqziq5lii"))))
|
||||||
(build-system copy-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments `(#:tests? #f)) ; Not enabled during build.
|
||||||
'(#:install-plan
|
|
||||||
'(("CL" "include/")))) ; TODO: add phase for tests
|
|
||||||
(synopsis "The Khronos OpenCL headers")
|
(synopsis "The Khronos OpenCL headers")
|
||||||
(description
|
(description
|
||||||
"This package provides the C headers by Khronos for OpenCL programming.")
|
"This package provides the C headers by Khronos for OpenCL programming.")
|
||||||
|
|
Loading…
Reference in a new issue