Re: Building mozilla-central with clang + icecream

2017-11-13 Thread Jean-Yves Avenard
> On 7 Nov 2017, at 2:48 am, zbranie...@mozilla.com wrote: > > I tried to build m-c today with clang 5.0 and icecream using the following > mozconfig: > > > ``` > mk_add_options MOZ_MAKE_FLAGS="-j$(icecc-jobs)" > > mk_add_options 'export CCACHE_PREFIX=icecc' > mk_add_options "export

Re: Building mozilla-central with clang + icecream

2017-11-10 Thread Karl Tomlinson
Zibi Braniecki writes: > On Tuesday, November 7, 2017 at 2:54:45 AM UTC-8, pa...@paul.cx wrote: >> I'm using this setup daily (with clang trunk from some weeks ago, not >> 5.0, but it's the same really), here is my mozconfig: >> >> ``` >> export CC="icecc clang" >> export CXX="icecc clang++" >>

Re: Building mozilla-central with clang + icecream

2017-11-09 Thread Sylvestre Ledru
Hello, On 10/11/2017 06:17, Zibi Braniecki wrote: > 0:11.63 DEBUG: configure:5029: /usr/bin/ccache /usr/bin/gcc -std=gnu99 -o > conftest -Qunused-arguments conftest.c 1>&5 > 0:11.63 DEBUG: gcc: error: unrecognized command line option > '-Qunused-arguments'; did you mean

Re: Building mozilla-central with clang + icecream

2017-11-09 Thread Zibi Braniecki
Unfortunately, that still doesn't make it fly. My mozconfig: ``` ▶ cat .mozconfig mk_add_options MOZ_MAKE_FLAGS="-j$(icecc-jobs)" mk_add_options 'export CCACHE_PREFIX=icecc' mk_add_options "export RUSTC_WRAPPER=sccache" mk_add_options 'export CARGO_INCREMENTAL=1' mk_add_options 'export

Re: Building mozilla-central with clang + icecream

2017-11-09 Thread Wei-Cheng Pan
On 10/11/2017 10:04 AM, Zibi Braniecki wrot > 0:12.70 DEBUG: | usr/bin/clang: error while loading shared libraries: > libLLVM-5.0.so: cannot open shared object file: No such file or directory Looks like somehow it cannot find libLLVM-5.0.so, probably a distro issue? Probably icecc-create-env

Re: Building mozilla-central with clang + icecream

2017-11-09 Thread Zibi Braniecki
On Tuesday, November 7, 2017 at 2:54:45 AM UTC-8, pa...@paul.cx wrote: > I'm using this setup daily (with clang trunk from some weeks ago, not > 5.0, but it's the same really), here is my mozconfig: > > ``` > export CC="icecc clang" > export CXX="icecc clang++" > mk_add_options

Re: Building mozilla-central with clang + icecream

2017-11-07 Thread Andreas Tolfsen
Also sprach p...@paul.cx: I'm using this setup daily (with clang trunk from some weeks ago, not 5.0, but it's the same really), here is my mozconfig: ``` export CC="icecc clang" export CXX="icecc clang++" mk_add_options MOZ_MAKE_FLAGS="-j100" # adjust, this is good for the paris office

Re: Building mozilla-central with clang + icecream

2017-11-07 Thread paul
I'm using this setup daily (with clang trunk from some weeks ago, not 5.0, but it's the same really), here is my mozconfig: ``` export CC="icecc clang" export CXX="icecc clang++" mk_add_options MOZ_MAKE_FLAGS="-j100" # adjust, this is good for the paris office mk_add_options 'export

Building mozilla-central with clang + icecream

2017-11-06 Thread zbraniecki
I tried to build m-c today with clang 5.0 and icecream using the following mozconfig: ``` mk_add_options MOZ_MAKE_FLAGS="-j$(icecc-jobs)" mk_add_options 'export CCACHE_PREFIX=icecc' mk_add_options "export RUSTC_WRAPPER=sccache" export CC=clang export CXX=clang++ ac_add_options --with-ccache