<div dir="ltr">Why is it needed?<div>Without this change mesa was finding llvm-config correctly, that&#39;s why I&#39;ve just reverted this to continue building.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 31, 2017 at 5:57 PM, Khem Raj <span dir="ltr">&lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Fri, Mar 31, 2017 at 8:08 AM, Martin Jansa &lt;<a href="mailto:martin.jansa@gmail.com">martin.jansa@gmail.com</a>&gt; wrote:<br>
&gt; On Thu, Mar 23, 2017 at 10:31:07AM -0700, Khem Raj wrote:<br>
&gt;&gt; On Thu, Mar 23, 2017 at 12:51 AM, Martin Jansa &lt;<a href="mailto:martin.jansa@gmail.com">martin.jansa@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; I&#39;m not sure if this is the root cause, but last qemux86 build shows:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; | configure: error: --enable-gallium-llvm selected but llvm-config is not<br>
&gt;&gt; &gt; found<br>
&gt;&gt; &gt; | ERROR: Function failed: do_configure (log file is located at<br>
&gt;&gt; &gt; /home/jenkins/oe/world/shr-<wbr>core/tmp-glibc/work/i586-oe-<wbr>linux/mesa/2_17.0.1-r0/temp/<wbr>log.do_configure.11359)<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt; can you point where is llvm-config installed in sysroot ? its possible<br>
&gt;&gt; its not in native sysroot location ${STAGING_BINDIR_NATIVE}<br>
&gt;<br>
&gt; OE qemux86@ ~/build/oe-core $ find tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot* -name llvm\*<br>
&gt; tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot/usr/bin/crossscripts/<wbr>llvm-config<br>
&gt; tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot/usr/bin/crossscripts/<wbr>llvm-config3.3<br>
&gt; tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot/usr/include/llvm3.3<br>
&gt; tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot/usr/include/llvm3.3/<wbr>llvm-c<br>
&gt; tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot/usr/include/llvm3.3/<wbr>llvm<br>
&gt; tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot/usr/include/llvm3.3/<wbr>llvm/Config/llvm-config.h<br>
&gt; tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot/usr/lib/llvm3.3<br>
&gt; tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot/sysroot-providers/<wbr>llvm-common<br>
&gt; tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot/sysroot-providers/<wbr>llvm3.3<br>
&gt; tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot-native/installeddeps/<wbr>llvm3.3.complete<br>
&gt; tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot-native/installeddeps/<wbr>llvm-common.complete<br>
&gt; tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot-native/installeddeps/<wbr>llvm-common.<wbr>6be6a4ae98ee0dff7c2a4c4df17f02<wbr>6a<br>
&gt; tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot-native/installeddeps/<wbr>llvm-common<br>
&gt; tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot-native/installeddeps/<wbr>llvm3.3.<wbr>388adaa288ab3b1d35e01a43b65423<wbr>68<br>
&gt; tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot-native/installeddeps/<wbr>llvm3.3<br>
&gt;<br>
<br>
</div></div>so it seems it should point to &lt;recipe-sysroot&gt;/usr/bin/<wbr>crossscripts<br>
can you try changing -with-llvm-prefix to point to this dir ?<br>
<div class="HOEnZb"><div class="h5"><br>
&gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I&#39;ve noticed some llvm changes for meta-clang, do we need similar changes<br>
&gt;&gt; &gt; for meta-oe version of llvm?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Sun, Mar 12, 2017 at 12:16 AM, Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On 3/11/17 1:30 PM, Khem Raj wrote:<br>
&gt;&gt; &gt;&gt; &gt; The following changes since commit<br>
&gt;&gt; &gt;&gt; &gt; a47e64d985a610535449730806651f<wbr>5bfd75d9ec:<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;   libcomps: add a recipe (2017-03-11 16:08:50 +0000)<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; are available in the git repository at:<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;   git://<a href="http://git.openembedded.org/openembedded-core-contrib" rel="noreferrer" target="_blank">git.openembedded.org/<wbr>openembedded-core-contrib</a> kraj/pu<br>
&gt;&gt; &gt;&gt; &gt;   <a href="http://cgit.openembedded.org/openembedded-core-contrib/log/?h=kraj/pu" rel="noreferrer" target="_blank">http://cgit.openembedded.org/<wbr>openembedded-core-contrib/log/<wbr>?h=kraj/pu</a><br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Khem Raj (1):<br>
&gt;&gt; &gt;&gt; &gt;   mesa: Contain configure search for llvm<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I added another fix for mesa-gl to remove one of obsolete packageconfigs<br>
&gt;&gt; &gt;&gt; and its on the same pull branch now.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;  meta/recipes-graphics/mesa/<wbr>mesa.inc | 2 +-<br>
&gt;&gt; &gt;&gt; &gt;  1 file changed, 1 insertion(+), 1 deletion(-)<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; --<br>
&gt;&gt; &gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; &gt;&gt; Openembedded-core mailing list<br>
&gt;&gt; &gt;&gt; <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
&gt;&gt; &gt;&gt; <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt; --<br>
&gt; Martin &#39;JaMa&#39; Jansa     jabber: <a href="mailto:Martin.Jansa@gmail.com">Martin.Jansa@gmail.com</a><br>
</div></div></blockquote></div><br></div>