Re: sccache as ccache

2019-03-25 Thread Jonathan Watt
On 26/07/2017 16:19, Botond Ballo wrote: > On Wed, Jul 26, 2017 at 9:05 AM, Ted Mielczarek wrote: >> If you build Firefox on Linux or OS X you can (and >> should) use sccache in place of ccache for local development. > > Can sccache be used in conjunction with icecc [1]? > > I currently use the

Re: sccache as ccache

2017-08-18 Thread Ted Mielczarek
On Thu, Aug 17, 2017, at 10:01 PM, Mike Hommey wrote: > On Wed, Jul 26, 2017 at 09:54:14AM -0400, Alex Gaynor wrote: > > If you're on macOS, you can also get sccache with `brew install sccache`. > > If you're on macOS and were hitting errors building openvr, this is > fixed in sccache master. I'v

Re: sccache as ccache

2017-08-17 Thread Mike Hommey
On Wed, Jul 26, 2017 at 09:54:14AM -0400, Alex Gaynor wrote: > If you're on macOS, you can also get sccache with `brew install sccache`. If you're on macOS and were hitting errors building openvr, this is fixed in sccache master. Mike ___ dev-platform m

Re: sccache as ccache

2017-08-06 Thread Chris Peterson
On 2017-08-05 10:49 AM, ISHIKAWA, Chiaki wrote: However, I am not sure if the cache is working correctly. With ccache, we can specify a log file in the environment variable CCACHE_LOGFILE to specify. We can study the log file to see if the cache is indeed working (hits, etc). Is there an equi

Re: sccache as ccache

2017-08-05 Thread ISHIKAWA, Chiaki
On 2017/08/06 2:06, ISHIKAWA,chiaki wrote: On 2017/08/04 20:46, Simon Sapin wrote: On 04/08/2017 13:02, Mike Hommey wrote: On Fri, Aug 04, 2017 at 11:25:52AM +0200, Simon Sapin wrote: `mk_add_options export RUSTC_WRAPPER=sccache` causes an error: It's `mk_add_options "export RUSTC_WRAPPER=sc

Re: sccache as ccache

2017-08-05 Thread ISHIKAWA,chiaki
On 2017/08/04 20:46, Simon Sapin wrote: On 04/08/2017 13:02, Mike Hommey wrote: On Fri, Aug 04, 2017 at 11:25:52AM +0200, Simon Sapin wrote: `mk_add_options export RUSTC_WRAPPER=sccache` causes an error: It's `mk_add_options "export RUSTC_WRAPPER=sccache"`. That worked, thanks! I now have:

Re: sccache as ccache

2017-08-04 Thread Simon Sapin
On 04/08/2017 13:02, Mike Hommey wrote: On Fri, Aug 04, 2017 at 11:25:52AM +0200, Simon Sapin wrote: `mk_add_options export RUSTC_WRAPPER=sccache` causes an error: It's `mk_add_options "export RUSTC_WRAPPER=sccache"`. That worked, thanks! I now have: ac_add_options --with-ccache=/usr/bin/cc

Re: sccache as ccache

2017-08-04 Thread Mike Hommey
On Fri, Aug 04, 2017 at 11:25:52AM +0200, Simon Sapin wrote: > On 26/07/2017 19:22, Ted Mielczarek wrote: > > > I’ve ended up keeping "classic" ccache for C and C++ code and adding > > > 'export RUSTC_WRAPPER=sccache' to my mach wrapper script in order to use > > > sccache for Rust code. (Having th

Re: sccache as ccache

2017-08-04 Thread Simon Sapin
On 26/07/2017 19:22, Ted Mielczarek wrote: I’ve ended up keeping "classic" ccache for C and C++ code and adding 'export RUSTC_WRAPPER=sccache' to my mach wrapper script in order to use sccache for Rust code. (Having this line with or without 'export' in .mozconfig did not appear to do anything. C

Re: sccache as ccache

2017-08-02 Thread Ted Mielczarek
On Wed, Aug 2, 2017, at 12:26 PM, Ben Kelly wrote: > On Wed, Jul 26, 2017 at 9:05 AM, Ted Mielczarek > wrote:>> Yesterday I published sccache 0.2 to > crates.io, so you can now `cargo>> install sccache` and get the latest > version (it'll install to >> ~/.cargo/bin). > > I tried this on my li

Re: sccache as ccache

2017-08-02 Thread Ben Kelly
On Wed, Aug 2, 2017 at 12:26 PM, Ben Kelly wrote: > On Wed, Jul 26, 2017 at 9:05 AM, Ted Mielczarek > wrote: > >> Yesterday I published sccache 0.2 to crates.io, so you can now `cargo >> install sccache` and get the latest version (it'll install to >> ~/.cargo/bin). >> > > I tried this on my lin

Re: sccache as ccache

2017-08-02 Thread Ben Kelly
On Wed, Jul 26, 2017 at 9:05 AM, Ted Mielczarek wrote: > Yesterday I published sccache 0.2 to crates.io, so you can now `cargo > install sccache` and get the latest version (it'll install to > ~/.cargo/bin). > I tried this on my linux build machine today and got: error: failed to run custom bui

Re: sccache as ccache

2017-07-26 Thread Ted Mielczarek
On Wed, Jul 26, 2017, at 12:57 PM, Simon Sapin wrote: > On 26/07/2017 15:05, Ted Mielczarek wrote: > >ac_add_options --with-ccache=sccache > > When used together with icecc, this appears to force all jobs to run > locally which makes icecc pointless. We should figure out what's going on here

Re: sccache as ccache

2017-07-26 Thread Simon Sapin
On 26/07/2017 15:05, Ted Mielczarek wrote: ac_add_options --with-ccache=sccache When used together with icecc, this appears to force all jobs to run locally which makes icecc pointless. I’ve ended up keeping "classic" ccache for C and C++ code and adding 'export RUSTC_WRAPPER=sccache' to

Re: sccache as ccache

2017-07-26 Thread Botond Ballo
On Wed, Jul 26, 2017 at 9:05 AM, Ted Mielczarek wrote: > If you build Firefox on Linux or OS X you can (and > should) use sccache in place of ccache for local development. Can sccache be used in conjunction with icecc [1]? I currently use the two together by having the following in my .mozconfig

Re: sccache as ccache

2017-07-26 Thread Ted Mielczarek
On Wed, Jul 26, 2017, at 10:46 AM, Kan-Ru Chen wrote: > Windows support sounds very exciting! Will it support cache sharing? Currently sccache supports a few different cache storage backends: * local disk * Amazon S3 * Google Cloud Storage * Redis However, the cache keys currently wind up with fu

Re: sccache as ccache

2017-07-26 Thread Kan-Ru Chen
On Wed, Jul 26, 2017, at 09:05 PM, Ted Mielczarek wrote: > Yesterday I published sccache 0.2 to crates.io, so you can now `cargo > install sccache` and get the latest version (it'll install to > ~/.cargo/bin). If you build Firefox on Linux or OS X you can (and > should) use sccache in place of ccac

Re: sccache as ccache

2017-07-26 Thread Alex Gaynor
If you're on macOS, you can also get sccache with `brew install sccache`. Alex On Wed, Jul 26, 2017 at 9:05 AM, Ted Mielczarek wrote: > Yesterday I published sccache 0.2 to crates.io, so you can now `cargo > install sccache` and get the latest version (it'll install to > ~/.cargo/bin). If you b

sccache as ccache

2017-07-26 Thread Ted Mielczarek
Yesterday I published sccache 0.2 to crates.io, so you can now `cargo install sccache` and get the latest version (it'll install to ~/.cargo/bin). If you build Firefox on Linux or OS X you can (and should) use sccache in place of ccache for local development. It's as simple as adding this to your m