-
Notifications
You must be signed in to change notification settings - Fork 83
Alternative CMake Integration #365
Comments
Since early 2019 this ugly workaround should no longer be necessary because clcache now determines whether the first command line argument is a compiler executable. However, the last released version is 4.2.0 which does not support it which makes me believe that this project is abandoned. |
@rweickelt It's unmaintained, yes - but there are a couple of forks which may be more active. A couple of weeks ago, I mentioned this in another comment:
...which, unfortunately, was followed by awkward silence. :-( |
Yeah, I know how it is. Great that you have developed it, it seems to work well enough with MS VS 2017. Thanks to #346, integration of clcache was very easy in our project and safes a lot of time on Travis CI. I'd recommend @psalvaggio to try out clcache from the master branch. Installation with pip is straight forward as shown in the link above. How to find out the most active fork? |
Oh! I didn't know maintenance had slowed/stopped. @rweickelt you might have better luck then with cclash, it doesn't support PDB builds though. https://github.com/inorton/cclash but I did get some very good speedups. |
I have been using ccache for a long time in CMake and have integrated it the following way:
Doing it this way is nice because it requires no additional user input besides having ccache installed and it being in the user's path. So, I wanted a way to do this with clcache in a similar manner. I installed through
pip
and changed my original snippet to the following:where
clcache-launcher.bat
was:This got me the same semantics as using
ccache
, but now I get a cache on Linux/Mac and Windows in the same usage pattern.It might be useful to add this type of pattern to the wiki for integration for people that are coming over from ccache and are used to that pattern of using a compiler cache.
Best,
Phil
The text was updated successfully, but these errors were encountered: