Properly set up CCACHE + fix doxygen config for versions up to 1.10.0 #5078
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull request overview
This should work on windows. Haven't had time to confirm, but I did enable it successfully on OpenStudioApplication with the same change.
(One of) the old issue was that MSVC would fail to build RC files when ccache was picked up, and this won't.
RULE_LAUNCH_COMPILE
is now flagged as an internal implementation detail, and it makes the compile of the RC file fail on windows.For incremental rebuilds on the OSApp using github actions, for something that had very little change (or no change, only a workflow change for eg), I took the run time from 1h15 to about 15min (the build time itself went from 50 to 3min). So I'd say it's definitely worth trying to implement ccache on windows for Jenkins.
It's possible this won't work as is due to C# or something like this. Regardless, this is the correct way of enabling ccache on Unix as well, so this should be merged anyways
See the note on https://cmake.org/cmake/help/latest/prop_gbl/RULE_LAUNCH_COMPILE.html
Pull Request Author
src/model/test
)src/energyplus/Test
)src/osversion/VersionTranslator.cpp
)Labels:
IDDChange
APIChange
Pull Request - Ready for CI
so that CI builds your PRReview Checklist
This will not be exhaustively relevant to every PR.