<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 13, 2013 at 8:48 PM, Dmitri Gribenko <span dir="ltr"><<a href="mailto:gribozavr@gmail.com" target="_blank">gribozavr@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="im">On Wed, Nov 13, 2013 at 5:28 PM, Mikael Lyngvig <<a href="mailto:mikael@lyngvig.org">mikael@lyngvig.org</a>> wrote:<br>

> Hi Dmitri,<br>
><br>
> I am not using any kind of cache (didn't even know of ccache).  I have now<br>
> installed ccache.  Perhaps ccache should be mentioned in the buildbot<br>
> document so that every buildbot owner knows about it?<br>
<br>
</div>Possibly.<br>
<div class="im"><br>
> It is currently running Arch Linux ARM.  if there are good reasons to switch<br>
> to something else, I'll be happy to do that, although I am generally very<br>
> happy about Arch Linux.<br>
><br>
> What do you want me to build?  LLVM?  Clang?  Both plus test suite?<br>
<br>
</div>Personally, I see more value in building LLVM, Clang, possibly lld,<br></blockquote><div><br></div><div>I think LLD would especially benefit from testing on other architectures, since LLD is the most prone to accidentally having something architecture-dependent (e.g. assuming pointers are 64 bits, endianness, alignment, etc) and so testing it on more architectures will turn up bugs.</div>
<div><br></div><div>-- Sean Silva</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
without test suite.  This is the way that most build bots operate.<br>
Test suite takes a long time to run, and this increases the iteration<br>
time.<br>
<br>
As an example, you could look at the configuration in zorg repository<br>
that corresponds to this buildbot:<br>
<br>
<a href="http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-debian-fast" target="_blank">http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-debian-fast</a><br>
<br>
It uses CMake/ninja, which will give you the best possible iteration time.<br>
<br>
In order to use ccache, you need ensure that these environment<br>
variables are set:<br>
<br>
CC="ccache clang"<br>
CXX="ccache clang++"<br>
CCACHE_CPP2=yes<br>
export CC CXX CCACHE_CPP2<br>
<br>
(Of course, you can use gcc/g++ as compilers.)<br>
<div class="im HOEnZb"><br>
Dmitri<br>
<br>
--<br>
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if<br>
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com">gribozavr@gmail.com</a>>*/<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</div></div></blockquote></div><br></div></div>