[Pkg-opencl-devel] OpenCL and multiarch

Rebecca N. Palmer rebecca_palmer at zoho.com
Tue Feb 24 20:12:04 UTC 2015


For beignet, -DLIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) moves it 
to the multiarch directory (all of it, including 
not-actually-arch-dependent parts; this could probably be improved on), and

>   /etc/OpenCL/intel.i386.icd
>   /etc/OpenCL/intel.amd64.icd
> [...]with paths pointing to multiarch locations,

> Or would an ICD file with
> ${ORIGIN}/bar-icd/libfoo-icd.so.42 work? (IIRC ${ORIGIN} should resolve
> to the location of libOpenCL.so.1).

either of these options works for the .icd file(s); shall I ask upstream 
which they prefer?  (I'm guessing the first, as it lets them keep their 
configurable install location, while the second forces the standard one.)




More information about the Pkg-opencl-devel mailing list