Re: [ccache] Trouble sharing cache results when compiling with -isystem instead of -I

2015-09-05 Thread Joel Rosdahl
Robert Houghton wrote:
> Is looks like ccache v3.2.1 will not use the CCACHE_BASEDIR option when
> considering paths provided by -isystem. Is this intentional, an oversight,
> or a bug?

ccache does recognize -isystem, but only when used like "-isystem foo", not
in the form "-isystemfoo" (it's news to me that GCC accepts that strange
variant)... So try adding a space.

-- Joel
___
ccache mailing list
ccache@lists.samba.org
https://lists.samba.org/mailman/listinfo/ccache


Re: [ccache] Trouble sharing cache results when compiling with -isystem instead of -I

2015-09-05 Thread Robert Houghton
OK.  I'm working on  a patch to support - isystemfoo
On Sep 5, 2015 13:40, "Joel Rosdahl"  wrote:

> Robert Houghton wrote:
> > Is looks like ccache v3.2.1 will not use the CCACHE_BASEDIR option when
> > considering paths provided by -isystem. Is this intentional, an
> oversight,
> > or a bug?
>
> ccache does recognize -isystem, but only when used like "-isystem foo",
> not in the form "-isystemfoo" (it's news to me that GCC accepts that
> strange variant)... So try adding a space.
>
> -- Joel
>
>
___
ccache mailing list
ccache@lists.samba.org
https://lists.samba.org/mailman/listinfo/ccache


Re: [ccache] Trouble sharing cache results when compiling with -isystem instead of -I

2015-09-04 Thread Andrew Stubbs

On 03/09/15 23:03, Robert Houghton wrote:

Is looks like ccache v3.2.1 will not use the CCACHE_BASEDIR option when
considering paths provided by -isystem. Is this intentional, an oversight,
or a bug?


I'd say it's not intentional. -I and -isystem differ only in the search 
order, which shouldn't be significant for ccache.


Andrew


___
ccache mailing list
ccache@lists.samba.org
https://lists.samba.org/mailman/listinfo/ccache