summaryrefslogtreecommitdiff
path: root/gnu/packages/opencl.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/opencl.scm')
-rw-r--r--gnu/packages/opencl.scm100
1 files changed, 0 insertions, 100 deletions
diff --git a/gnu/packages/opencl.scm b/gnu/packages/opencl.scm
index 40fa5981fe..b857a14caa 100644
--- a/gnu/packages/opencl.scm
+++ b/gnu/packages/opencl.scm
@@ -78,26 +78,6 @@
(home-page "https://registry.khronos.org/OpenCL/")
(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
(package
(name "opencl-clhpp")
@@ -221,86 +201,6 @@ from vendor-specific drivers. It also delivers a skeleton of bindings to
incorporate inside an OpenCL implementation to give it ICD functionalities.")
(license license:bsd-2)))
-(define-public beignet
- (package
- (name "beignet")
- (version "1.3.2")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/intel/beignet")
- (commit (string-append "Release_v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0lpv3lvi2vrmzb8blflrpbd3jgin76zqmz6jcv17vn9mylqdrfnd"))
- (patches (search-patches "beignet-correct-file-names.patch"))
- (modules '((guix build utils)))
- (snippet
- ;; There's a suspicious .isa binary file under kernels/.
- ;; Remove it.
- '(for-each delete-file (find-files "." "\\.isa$")))))
- (native-inputs (list pkg-config python))
- (inputs `(("clang@3.7" ,clang-3.7)
- ("clang-runtime@3.7" ,clang-runtime-3.7)
- ("glu" ,glu)
- ("llvm@3.7" ,llvm-3.7)
- ("libdrm" ,libdrm)
- ("libedit" ,libedit)
- ("libpthread-stubs" ,libpthread-stubs)
- ("libsm" ,libsm)
- ("libva" ,libva)
- ("libxfixes" ,libxfixes)
- ("libxext" ,libxext)
- ("mesa-utils" ,mesa-utils)
- ("ncurses" ,ncurses)
- ("ocl-icd" ,ocl-icd)
- ("opencl-icd-loader" ,opencl-icd-loader)
- ("opencl-headers" ,opencl-headers)
- ("xextproto" ,xextproto)
- ("zlib" ,zlib)))
- (build-system cmake-build-system)
- (arguments
- `(#:configure-flags
- (list (string-append "-DCLANG_LIBRARY_DIR="
- (assoc-ref %build-inputs "clang@3.7") "/lib")
- "-DENABLE_GL_SHARING=ON"
- "-DEXPERIMENTAL_DOUBLE=ON")
-
- #:phases
- (modify-phases %standard-phases
- (add-after 'install 'remove-headers
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (delete-file-recursively
- (string-append out "/include"))
- #t)))
- (add-after 'remove-headers 'install-kernels
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (builddir (getcwd))
- (source-dir (string-append
- builddir
- "/../beignet-Release_v1.3.2/kernels")))
- (copy-recursively source-dir
- (string-append out "/lib/beignet/kernels"))
- #t))))
- ;; Beignet tries to find GPU when running tests, which is not available
- ;; during build.
- #:tests? #f))
- (home-page "https://wiki.freedesktop.org/www/Software/Beignet/")
- (synopsis "OpenCL framework for Intel GPUs")
- (description
- "Beignet is an implementation of the OpenCL specification. This code
-base contains the code to run OpenCL programs on Intel GPUs---IvyBridge,
-Haswell, Skylake, Apollolake, etc. It defines and implements the OpenCL host
-functions required to initialize the device, create the command queues, the
-kernels and the programs, and run them on the GPU. The code also contains a
-back-end for the LLVM compiler framework.")
- ;; Beignet only supports Intel processors.
- (supported-systems '("x86_64-linux" "i686-linux"))
- (license license:lgpl2.1+)))
-
(define-public pocl
(package
(name "pocl")