[Pkg-opencl-devel] Bug#863300: beignet-opencl-icd is missing beignet_20.bc and beignet_20.pch

Anders Kaseorg andersk at mit.edu
Thu May 25 05:52:10 UTC 2017


Package: beignet-opencl-icd
Version: 1.3.0-3
Control: tags -1 + patch

I get this error trying to use ArrayFire with OpenCL:

Fatal Error: ocl lib /usr/lib/x86_64-linux-gnu/beignet//beignet_20.bc does 
not exist

That file is built (due to debian/patches/opencl2-runtime-detection.patch) 
but not installed in the beignet-opencl-icd package.  This corrects the 
problem for me:


diff -Nru beignet-1.3.0/debian/beignet-opencl-icd.install beignet-1.3.0/debian/beignet-opencl-icd.install
--- beignet-1.3.0/debian/beignet-opencl-icd.install	2017-05-02 18:23:11.000000000 -0400
+++ beignet-1.3.0/debian/beignet-opencl-icd.install	2017-05-25 01:49:09.000000000 -0400
@@ -3,6 +3,6 @@
 usr/lib/*/beignet/libgbeinterp.so
 usr/lib/*/beignet/libcl.so
 usr/lib/*/beignet/include
-usr/lib/*/beignet/beignet.pch
-usr/lib/*/beignet/beignet.bc
+usr/lib/*/beignet/beignet*.pch
+usr/lib/*/beignet/beignet*.bc
 usr/share/metainfo/*.metainfo.xml
diff -Nru beignet-1.3.0/debian/changelog beignet-1.3.0/debian/changelog
--- beignet-1.3.0/debian/changelog	2017-05-02 18:23:11.000000000 -0400
+++ beignet-1.3.0/debian/changelog	2017-05-25 01:49:12.000000000 -0400
@@ -1,3 +1,10 @@
+beignet (1.3.0-4) unstable; urgency=medium
+
+  * debian/beignet-opencl-icd.install: Install beignet_20.pch and
+    beignet_20.bc if they are built.
+
+ -- Anders Kaseorg <andersk at mit.edu>  Thu, 25 May 2017 01:49:12 -0400
+
 beignet (1.3.0-3) unstable; urgency=medium
 
   * Fix "Exec...-5" error on older hardware.  (Closes: #860805)


Anders



More information about the Pkg-opencl-devel mailing list