gnu: opencl-clhpp: Update to 2.0.15.

Note that this version bump removes the deprecated cl.hpp header
interface.

* gnu/packages/opencl.scm (opencl-clhpp): Update to 2.0.15.
[#:configure-flags]: Remove prefix.
This commit is contained in:
Lars-Dominik Braun 2021-08-11 09:41:38 +02:00
parent ac52d4b95c
commit 95a86b9bab
No known key found for this signature in database
GPG key ID: F663943E08D8092A

View file

@ -95,7 +95,7 @@ (define-public opencl-headers-1.0
(define-public opencl-clhpp
(package
(name "opencl-clhpp")
(version "2.0.10")
(version "2.0.15")
(source
(origin
(method git-fetch)
@ -103,21 +103,14 @@ (define-public opencl-clhpp
(url "https://github.com/KhronosGroup/OpenCL-CLHPP")
(commit (string-append "v" version))))
(sha256
(base32 "0h5kpg5cl8wzfnqmv6i26aig2apv06ffm9p3rh35938n9r8rladm"))
(base32 "1wycdbvwbdn7lqdd3sby8471qg2zdisr70218ava6cfvxdsqcp83"))
(file-name (git-file-name name version))))
(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")))
`(#:configure-flags (list "-DBUILD_EXAMPLES=OFF" "-DBUILD_TESTS=OFF")
;; The regression tests require a lot more dependencies.
#:tests? #f))
(build-system cmake-build-system)