[Pkg-opencl-devel] pocl / LLVM versions
Rebecca N. Palmer
rebecca_palmer at zoho.com
Sat Apr 30 20:39:05 UTC 2016
On 29/04/16 08:10, Rebecca N. Palmer wrote:
> On 23/04/16 10:37, Giuseppe Bilotta wrote:
> > * all ICDs based on LLVM have to be built using the same version of
> > LLVM, or one will get random crashes and segfaults during execution;
> > this means that Pocl must be built with the same LLVM as
> > mesa-opencl-icd and beignet;
>
> While Debian mesa uses 3.7, Ubuntu mesa uses 3.8, and I'm not yet sure
> whether beignet can use 3.8 (there's a patch to do so in upstream git,
> but it won't simply apply to the released version).
Worked after some adjustment, and now done in Alioth beignet.
> build-depend on both 3.7 and 3.8 and have debian/rules choose which gets
> used (perhaps after checking what mesa depends on, so we can't forget to
> change it?).
Also done, so we can keep using the same source for Debian and Ubuntu.
(If you want to do the same in pocl, note that it uses a file name
WITH_LLVM_CONFIG instead of a directory name LLVM_INSTALL_DIR.)
Unfortunately, it doesn't extend to using the same source in
jessie-backports (llvm3.5), as the build would fail for non-existence of
llvm3.7/3.8 before it got to the point of deciding to use 3.5.
More information about the Pkg-opencl-devel
mailing list