Re: ccache does not recognize environment variables under Fish shell
Andrew Stubbs <[email protected]> Tue, 19 Aug 2014 10:22:26 +0100
| Newsgroups | gmane.comp.compilers.ccache |
|---|---|
| Message-ID | <[email protected]> |
On 19/08/14 01:35, MartÃn Cigorraga wrote: > I already set CCACHE_DIR to use my tmpfs /tmp/ccache directory: > ~ > echo $CCACHE_DIR > /tmp/ccache You need to export the variable before it can be seen by programs other than your shell. I'm not familiar with fish shell, but there's a tutorial here: http://fishshell.com/docs/current/tutorial.html It looks like you have to say this: > set -x CCACHE_DIR /tmp/ccache You can check if the export was successful with the "env" command. Hope that helps Andrew