1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-23 18:50:32 +02:00

gnu: opencl-clhpp: Update package style.

* gnu/packages/opencl.scm (opencl-clhpp): Reorder fields.
[native-inputs]: Remove input label.
[arguments]: Use G-expressions.

Change-Id: I9c61aad824b5a57f941853635f30d2ec2dad38d8
Signed-off-by: Hilton Chain <hako@ultrarare.space>
Modified-by: Hilton Chain <hako@ultrarare.space>
This commit is contained in:
Ahmad Draidi
2025-05-25 22:41:24 +04:00
committed by Hilton Chain
parent ae1057501c
commit d001725bbc

View File

@@ -108,19 +108,18 @@
(uri (git-reference
(url "https://github.com/KhronosGroup/OpenCL-CLHPP")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1s9z30p80qc1dgp04wvc6szgcs4r167m3nk9622d2bbaaalgd5vg"))
(file-name (git-file-name name version))))
(native-inputs
`(("python" ,python-wrapper)))
(propagated-inputs
(list opencl-headers))
(arguments
`(#:configure-flags (list "-DBUILD_EXAMPLES=OFF" "-DBUILD_TESTS=OFF"
"-DBUILD_TESTING=OFF") ;; CTest needs this to be turned off
;; The regression tests require a lot more dependencies.
#:tests? #f))
(base32 "1s9z30p80qc1dgp04wvc6szgcs4r167m3nk9622d2bbaaalgd5vg"))))
(build-system cmake-build-system)
(arguments
(list #:tests? #f ;The regression tests require a lot more dependencies.
#:configure-flags
#~(list "-DBUILD_EXAMPLES=OFF" "-DBUILD_TESTS=OFF"
;; CTest needs this to be turned off.
"-DBUILD_TESTING=OFF")))
(native-inputs (list python-wrapper))
(propagated-inputs (list opencl-headers))
(home-page "https://github.khronos.org/OpenCL-CLHPP/")
(synopsis "Khronos OpenCL-CLHPP")
(description