<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi Paulo,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">   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.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">   But the Good News is that llvm3.8 RC1 will be released this Wednesday, Jan 13<sup>th</sup>. I think we can support it after it is stable and do not have bigger
 changes, maybe you can try on llvm3.8 then.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Xiuli Pan<o:p></o:p></span></p>
<p class="MsoNormal"><a name="_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></a></p>
<p class="MsoNormal"><a name="_____replyseparator"></a><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Beignet [mailto:beignet-bounces@lists.freedesktop.org]
<b>On Behalf Of </b>Paulo Dias<br>
<b>Sent:</b> Saturday, January 9, 2016 4:25 AM<br>
<b>To:</b> beignet@lists.freedesktop.org<br>
<b>Subject:</b> [Beignet] beignet git doesnt compile with llvm 3.8.0 git<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi all,<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Im trying to compile beignet git with latest llvm git (im the padoka ppa maintainer), but im getting an error when generating the bitecodes:<br>
<br>
[  8%] Compiling /home/groo/devel/intel/beignet/beignet_testing/obj-x86_64-linux-gnu/backend/src/libocl/src/ocl_barrier.ll<br>
[  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<br>
ERROR: Invalid type for value (Producer: 'LLVM3.8.0' Reader: 'LLVM 3.8.0')<br>
ERROR: Corrupted bitcode<br>
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<br>
make[3]: *** [backend/src/libocl/usr/lib/x86_64-linux-gnu/beignet/beignet.bc] Error 1<br>
make[3]: Leaving directory '/home/groo/devel/intel/beignet/beignet_testing/obj-x86_64-linux-gnu'<br>
CMakeFiles/Makefile2:231: recipe for target 'backend/src/libocl/CMakeFiles/beignet_bitcode.dir/all' failed<br>
make[2]: *** [backend/src/libocl/CMakeFiles/beignet_bitcode.dir/all] Error 2<br>
make[2]: Leaving directory '/home/groo/devel/intel/beignet/beignet_testing/obj-x86_64-linux-gnu'<br>
Makefile:136: recipe for target 'all' failed<br>
make[1]: *** [all] Error 2<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">it works fine with 3.6.x and 3.7.x.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">im using:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">llvm - 3.8~svn256797<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">beignet git - up to fc410ee2d6138bac821fe20a0d35c3b283244071<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">any help would be greatly appreciated.<o:p></o:p></p>
</div>
<p class="MsoNormal">best regards<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">| Paulo Dias<o:p></o:p></p>
<div>
<p class="MsoNormal">| <a href="mailto:paulo.miguel.dias@gmail.com" target="_blank">
paulo.miguel.dias@gmail.com</a><o:p></o:p></p>
<p><b><i><span style="font-size:8.0pt;font-family:"Arial",sans-serif;background:white">Tempora mutantur, nos et mutamur in illis.</span></i></b><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>