<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-04-02 16:00 GMT+02:00 Holger Freyther <span dir="ltr"><<a href="mailto:holger@freyther.de" target="_blank">holger@freyther.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
<br>
> On 2. Apr 2018, at 14:51, Nicolas Cellier <<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@<wbr>gmail.com</a>> wrote:<br>
><br>
> Gah!<br>
><br>
> despite my stuttutututter command:<br>
>     CC=clang ./configure CC=clang<br>
> the travis build is completely ignoring the directives and keep using gcc<br>
><br>
> See:<br>
</span>> <a href="https://travis-ci.org/OpenSmalltalk/opensmalltalk-vm/jobs/361174043" rel="noreferrer" target="_blank">https://travis-ci.org/<wbr>OpenSmalltalk/opensmalltalk-<wbr>vm/jobs/361174043</a> <<a href="https://travis-ci.org/OpenSmalltalk/opensmalltalk-vm/jobs/361174043" rel="noreferrer" target="_blank">https://travis-ci.org/<wbr>OpenSmalltalk/opensmalltalk-<wbr>vm/jobs/361174043</a>><br>
<span class="">><br>
> I suspect that it's lack of clean build, but not sure...<br>
><br>
> Building OpenSmalltalk VM in /home/travis/build/<wbr>OpenSmalltalk/opensmalltalk-<wbr>vm/build.linux32x86/pharo.<wbr>sista.spur/build.<wbr>itimerheartbeat...<br>
>  <>Re-exec as x86<br>
>  <>clean? ok but this isn't safe!!<br>
> Or would the clang compiler be absent?<br>
> Or what?<br>
><br>
> It ain't fun...<br>
<br></span></blockquote><div><br></div><div>Hi Holger,<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
</span>The cost of abstraction... I am not a fan of the "build" scripts (a lot of code cloning for what[1] gain?) and the travis logs don't show us the invocation of the actual commands.<br></blockquote><div><br></div><div>me neither, it's super easy to clone those mvm & Makefile and then impossible to manage all the copies...<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
* One would need to pass CC to configure and make<br>
* But even for configure CC=clang seems to go missing (<a href="https://api.travis-ci.org/v3/job/361174043/log.txt" rel="noreferrer" target="_blank">https://api.travis-ci.org/v3/<wbr>job/361174043/log.txt</a>): "checking whether gcc -std=gnu99 is Clang... no"<br>
 </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Try executing the script with shell tracing on "sh -x ./build..." and see if CC is being passed a long? And cat config.log to see which compiler was used during the configuration step?<br>
<br></blockquote><div>Thanks for the hints, the problem is that it works well on my debian, and that such remote debugging is a hurdle for me...<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
[1] I have worked with ARM, MIPS, PowerPC, x86 CPUs in my career and I know no other project that needs such build scripts to support different architectures and build flags...</blockquote></div><br></div></div>