[Beignet] beignet git doesnt compile with llvm 3.8.0 git

Pan, Xiuli xiuli.pan at intel.com
Sun Jan 10 18:02:33 PST 2016


Hi Paulo,
   I’m sorry to say but we do not support llvm master for our beignet git master now, since the llvm is changing to0 fast and we could not follow its path. We do have a try to support for llvm 3.8 on our OCL2.0 branch, but it fails after about few weeks due to some critical changes in llvm.

   But the Good News is that llvm3.8 RC1 will be released this Wednesday, Jan 13th. I think we can support it after it is stable and do not have bigger changes, maybe you can try on llvm3.8 then.

Thanks
Xiuli Pan

From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of Paulo Dias
Sent: Saturday, January 9, 2016 4:25 AM
To: beignet at lists.freedesktop.org
Subject: [Beignet] beignet git doesnt compile with llvm 3.8.0 git

Hi all,
Im trying to compile beignet git with latest llvm git (im the padoka ppa maintainer), but im getting an error when generating the bitecodes:

[  8%] Compiling /home/groo/devel/intel/beignet/beignet_testing/obj-x86_64-linux-gnu/backend/src/libocl/src/ocl_barrier.ll
[  8%] Generate the bitcode file: /home/groo/devel/intel/beignet/beignet_testing/obj-x86_64-linux-gnu/backend/src/libocl//usr/lib/x86_64-linux-gnu/beignet//beignet.bc
ERROR: Invalid type for value (Producer: 'LLVM3.8.0' Reader: 'LLVM 3.8.0')
ERROR: Corrupted bitcode
backend/src/libocl/CMakeFiles/beignet_bitcode.dir/build.make:72: recipe for target 'backend/src/libocl/usr/lib/x86_64-linux-gnu/beignet/beignet.bc' failed
make[3]: *** [backend/src/libocl/usr/lib/x86_64-linux-gnu/beignet/beignet.bc] Error 1
make[3]: Leaving directory '/home/groo/devel/intel/beignet/beignet_testing/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:231: recipe for target 'backend/src/libocl/CMakeFiles/beignet_bitcode.dir/all' failed
make[2]: *** [backend/src/libocl/CMakeFiles/beignet_bitcode.dir/all] Error 2
make[2]: Leaving directory '/home/groo/devel/intel/beignet/beignet_testing/obj-x86_64-linux-gnu'
Makefile:136: recipe for target 'all' failed
make[1]: *** [all] Error 2
it works fine with 3.6.x and 3.7.x.
im using:
llvm - 3.8~svn256797
beignet git - up to fc410ee2d6138bac821fe20a0d35c3b283244071

any help would be greatly appreciated.
best regards

| Paulo Dias
| paulo.miguel.dias at gmail.com<mailto:paulo.miguel.dias at gmail.com>

Tempora mutantur, nos et mutamur in illis.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20160111/dea6c308/attachment.html>


More information about the Beignet mailing list