[Beignet] problem with compiling using llvm 3.7

Igor Gnatenko ignatenkobrain at fedoraproject.org
Tue Oct 6 06:49:40 PDT 2015


On Wed, Sep 23, 2015 at 7:04 AM, Yang, Rong R <rong.r.yang at intel.com> wrote:
> Yes, last week I have sent a patchset for llvm3.7, "[PATCH 1/5] GBE: use opencl c to implement llvm.memset and llvm.memcpy" and so on, but haven't review and push.
> Could you have a try and give a feedback? Thanks.
Now I tested that patchset and it works. I will use that 5 patches in
Fedora. So you can have:
Tested-by: Igor Gnatenko <ignatenkobrain at fedoraproject.org>
>
>> -----Original Message-----
>> From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of
>> Igor Gnatenko
>> Sent: Wednesday, September 23, 2015 12:33
>> To: An open source open CL implemenation for Intel platform
>> Subject: [Beignet] problem with compiling using llvm 3.7
>>
>> Hi folks,
>>
>> in Fedora rawhide we have LLVM 3.7, but beignet won't compile with it.
>>
>> [  7%] Compiling
>> /builddir/build/BUILD/Beignet-1.1.0-
>> Source/build/backend/src/libocl/src/ocl_memcpy.ll
>> /usr/bin/llvm-as:
>> /builddir/build/BUILD/Beignet-1.1.0-
>> Source/build/backend/src/libocl/src/ocl_memcpy.ll:25:54:
>> error: expected comma after getelementptr's type
>>   %add.ptr = getelementptr inbounds i8 addrspace(1)* %src, i32 %index.0
>>                                                      ^
>> backend/src/libocl/CMakeFiles/beignet_bitcode.dir/build.make:513:
>> recipe for target 'backend/src/libocl/usr/lib64/beignet/ocl_memcpy.bc'
>> failed
>>
>>
>> Is there any fixes for this?
>>
>>
>> Full log:
>> https://kojipkgs.fedoraproject.org//work/tasks/8952/11188952/build.log
>>
>> --
>> -Igor Gnatenko
>> _______________________________________________
>> Beignet mailing list
>> Beignet at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list