mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Remove beignet.
* gnu/packages/opencl.scm (beignet): Delete variable. Change-Id: Iddbed6ef2057fe39c88df6862644dfe0e2b18a44
This commit is contained in:
parent
eb46ec7813
commit
fe355fa142
1 changed files with 0 additions and 80 deletions
|
@ -201,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.")
|
incorporate inside an OpenCL implementation to give it ICD functionalities.")
|
||||||
(license license:bsd-2)))
|
(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
|
(define-public pocl
|
||||||
(package
|
(package
|
||||||
(name "pocl")
|
(name "pocl")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue