summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2023-09-15 22:20:59 +0200
committerAndreas Enge <andreas@enge.fr>2023-09-15 22:23:44 +0200
commit213516f0baf92b6f50bd0c2e005625c0b3421a6f (patch)
tree66eac4d62f22073096d5a7a1a585137cab35e781 /gnu
parentedca2863bcb52388fe454e14136264a4f7490273 (diff)
downloadguix-213516f0baf92b6f50bd0c2e005625c0b3421a6f.tar.gz
gnu: beignet: Fix build.
* gnu/packages/opencl.scm (beignet)[arguments]: Add configure flag.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/opencl.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/opencl.scm b/gnu/packages/opencl.scm
index 85b063b136..caafa6beaf 100644
--- a/gnu/packages/opencl.scm
+++ b/gnu/packages/opencl.scm
@@ -240,7 +240,10 @@ the system.")
        (list (string-append "-DCLANG_LIBRARY_DIR="
                             (assoc-ref %build-inputs "clang@3.7") "/lib")
              "-DENABLE_GL_SHARING=ON"
-             "-DEXPERIMENTAL_DOUBLE=ON")
+             "-DEXPERIMENTAL_DOUBLE=ON"
+             ;; disable OCL ICD, which is probably this project:
+             ;; https://github.com/OCL-dev/ocl-icd
+             "-DOCLICD_COMPAT=0")
 
        #:phases
        (modify-phases %standard-phases