mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-27 19:41:50 +02:00
gnu: opencl-headers: Remove old versions.
There are no references left to these variables anywhere in the code. * gnu/packages/opencl.scm (make-opencl-headers, opencl-headers-1.0, opencl-headers-1.1, opencl-headers-1.1, opencl-headers-2.0, opencl-headers-2.1, opencl-headers-2.2): Remove variables. Change-Id: I4afdac98e7156f3b38eecb36503a13f5a425634c Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
committed by
Andreas Enge
parent
89766e6e60
commit
dd6f0eb212
@@ -78,26 +78,6 @@
|
|||||||
(home-page "https://registry.khronos.org/OpenCL/")
|
(home-page "https://registry.khronos.org/OpenCL/")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
(define (make-opencl-headers major-version subversion)
|
|
||||||
;; The upstream OpenCL-Headers repository is no longer separating headers by
|
|
||||||
;; version; instead, you are supposed to #define CL_TARGET_OPENCL_VERSION.
|
|
||||||
(deprecated-package (string-append "opencl-headers-"
|
|
||||||
major-version "."
|
|
||||||
subversion) opencl-headers))
|
|
||||||
|
|
||||||
(define-public opencl-headers-2.2
|
|
||||||
(make-opencl-headers "2" "2"))
|
|
||||||
(define-public opencl-headers-2.1
|
|
||||||
(make-opencl-headers "2" "1"))
|
|
||||||
(define-public opencl-headers-2.0
|
|
||||||
(make-opencl-headers "2" "0"))
|
|
||||||
(define-public opencl-headers-1.2
|
|
||||||
(make-opencl-headers "1" "2"))
|
|
||||||
(define-public opencl-headers-1.1
|
|
||||||
(make-opencl-headers "1" "1"))
|
|
||||||
(define-public opencl-headers-1.0
|
|
||||||
(make-opencl-headers "1" "0"))
|
|
||||||
|
|
||||||
(define-public opencl-clhpp
|
(define-public opencl-clhpp
|
||||||
(package
|
(package
|
||||||
(name "opencl-clhpp")
|
(name "opencl-clhpp")
|
||||||
|
|||||||
Reference in New Issue
Block a user