<div dir="ltr">Why is it needed?<div>Without this change mesa was finding llvm-config correctly, that's why I'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"><<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>></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 <<a href="mailto:martin.jansa@gmail.com">martin.jansa@gmail.com</a>> wrote:<br>
> On Thu, Mar 23, 2017 at 10:31:07AM -0700, Khem Raj wrote:<br>
>> On Thu, Mar 23, 2017 at 12:51 AM, Martin Jansa <<a href="mailto:martin.jansa@gmail.com">martin.jansa@gmail.com</a>> wrote:<br>
>> > I'm not sure if this is the root cause, but last qemux86 build shows:<br>
>> ><br>
>> ><br>
>> > | configure: error: --enable-gallium-llvm selected but llvm-config is not<br>
>> > found<br>
>> > | ERROR: Function failed: do_configure (log file is located at<br>
>> > /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>
>> ><br>
>><br>
>> can you point where is llvm-config installed in sysroot ? its possible<br>
>> its not in native sysroot location ${STAGING_BINDIR_NATIVE}<br>
><br>
> 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>
> tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot/usr/bin/crossscripts/<wbr>llvm-config<br>
> tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot/usr/bin/crossscripts/<wbr>llvm-config3.3<br>
> tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot/usr/include/llvm3.3<br>
> tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot/usr/include/llvm3.3/<wbr>llvm-c<br>
> tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot/usr/include/llvm3.3/<wbr>llvm<br>
> 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>
> tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot/usr/lib/llvm3.3<br>
> tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot/sysroot-providers/<wbr>llvm-common<br>
> tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot/sysroot-providers/<wbr>llvm3.3<br>
> tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot-native/installeddeps/<wbr>llvm3.3.complete<br>
> tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot-native/installeddeps/<wbr>llvm-common.complete<br>
> 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>
> tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot-native/installeddeps/<wbr>llvm-common<br>
> 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>
> tmp-glibc/work/i586-oe-linux/<wbr>mesa/2_17.0.2-r0/recipe-<wbr>sysroot-native/installeddeps/<wbr>llvm3.3<br>
><br>
<br>
</div></div>so it seems it should point to <recipe-sysroot>/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>
>><br>
>> ><br>
>> > I've noticed some llvm changes for meta-clang, do we need similar changes<br>
>> > for meta-oe version of llvm?<br>
>> ><br>
>> ><br>
>> > On Sun, Mar 12, 2017 at 12:16 AM, Khem Raj <<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>> wrote:<br>
>> >><br>
>> >><br>
>> >><br>
>> >> On 3/11/17 1:30 PM, Khem Raj wrote:<br>
>> >> > The following changes since commit<br>
>> >> > a47e64d985a610535449730806651f<wbr>5bfd75d9ec:<br>
>> >> ><br>
>> >> > libcomps: add a recipe (2017-03-11 16:08:50 +0000)<br>
>> >> ><br>
>> >> > are available in the git repository at:<br>
>> >> ><br>
>> >> > 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>
>> >> > <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>
>> >> ><br>
>> >> > Khem Raj (1):<br>
>> >> > mesa: Contain configure search for llvm<br>
>> >> ><br>
>> >><br>
>> >> I added another fix for mesa-gl to remove one of obsolete packageconfigs<br>
>> >> and its on the same pull branch now.<br>
>> >><br>
>> >> > meta/recipes-graphics/mesa/<wbr>mesa.inc | 2 +-<br>
>> >> > 1 file changed, 1 insertion(+), 1 deletion(-)<br>
>> >> ><br>
>> >> --<br>
>> >> ______________________________<wbr>_________________<br>
>> >> Openembedded-core mailing list<br>
>> >> <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
>> >> <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>
>> ><br>
>> ><br>
><br>
> --<br>
> Martin 'JaMa' Jansa jabber: <a href="mailto:Martin.Jansa@gmail.com">Martin.Jansa@gmail.com</a><br>
</div></div></blockquote></div><br></div>