Re: [ccache] Shared CCACHE_DIR, different ccache releases?

2015-10-20 Thread Joel Rosdahl
>
> How can I know if it's OK to use different versions of the ccache program
> with the same CCACHE_DIR location?


If you by "OK to use different versions" mean "works to share and reuse
cache results between different versions", then no, there are no such
guarantees and no list of compatible versions. I think that it would be too
much work to maintain such a list unless somebody volunteers to do that.

If you by "OK to use different versions" mean "works to use different
versions without damaging the cache or tripping up other ccache versions",
then yes, it should in principle work well to mix any ccache versions.
There might be edge cases that I'm unaware of at the moment, though.

Also, what is the convention regarding the version number? For instance, if
> only the last number changes as is my case, should CCACHE_DIR be generally
> compatible?


The version number doesn't give any guarantees about compatibility in the
"share results" sense. Increase of the last number: bug fixes and maybe
minor improvements other than bug fixes. Increase of the middle number:
Major improvements. Increase of the first number: Major improvements. :-)

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


[ccache] Shared CCACHE_DIR, different ccache releases?

2015-10-17 Thread Jacques, Edwin
How can I know if it's OK to use different versions of the ccache program with 
the same CCACHE_DIR location?
We would like to use ccache version 3.1.8 and 3.1.9 together (depending on the 
version of the OS-provided tool chain we are using).
I just want to be sure that the structure of the cache has not changed so much 
between these releases that the CCACHE_DIR can't be shared.

Also, what is the convention regarding the version number? For instance, if 
only the last number changes as is my case, should CCACHE_DIR be generally 
compatible?

Thank you,

--Edwin

Edwin Jacques
Development Enablement
Core Technology Division
EMC2 Corporation

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