[zorg] r174421 - Adding cortex-a15 experimental buildbot
Dmitri Gribenko
gribozavr at gmail.com
Tue Feb 5 14:51:33 PST 2013
On Wed, Feb 6, 2013 at 12:44 AM, Renato Golin <renato.golin at linaro.org> wrote:
> On 5 February 2013 22:37, Dmitri Gribenko <gribozavr at gmail.com> wrote:
>>
>> For me, ccache cuts off more than 2/3 of the build time on average, so
>> it is definitely worth trying. But if you implement a cmake/ninja
>> mode for buildbots, I'd be happy to switch mine to that :)
>
> It might be easier to change to ninja than use ccache.
It would be best is to use both :)
> How do you force the configure to call ccache before the compiler command?
> Or did you just change the /usr/bin/gcc to be a script?
I just edited the configuration file for the service start script:
$ cat /etc/default/buildslave
...
CC="ccache clang"
CXX="ccache clang++"
CCACHE_CPP2=yes
export CC CXX CCACHE_CPP2
(On Debian, this happens to be juts a shell script that is sourced by
the init.d script)
Let me know if you have any questions -- I'd be happy to help.
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
More information about the llvm-commits
mailing list