Skip to content

handle precompiled headers with ccache / fixed caching in some docker builds#4505

Merged
orbitcowboy merged 5 commits intocppcheck-opensource:mainfrom
firewave:ccache-precompiled
Sep 26, 2022
Merged

handle precompiled headers with ccache / fixed caching in some docker builds#4505
orbitcowboy merged 5 commits intocppcheck-opensource:mainfrom
firewave:ccache-precompiled

Conversation

@firewave
Copy link
Copy Markdown
Collaborator

@firewave firewave commented Sep 26, 2022

This gets rid of uncacheable files in CI-unixish.yml CMake builds but they are still cache misses on other platforms than Ubuntu 22.04.

Also fixes ccache options missing for a docker build as well as not applying it with older CMake versions:

CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER_LAUNCHER
    CMAKE_C_COMPILER_LAUNCHER

Unfortunately there is no way to make these errors fail the build.

@firewave firewave force-pushed the ccache-precompiled branch 3 times, most recently from f4a3138 to 8aaf0e2 Compare September 26, 2022 10:20
@firewave firewave changed the title CI-unixish.yml: handle precompiled headers with ccache handle precompiled headers with ccache / fixed caching in some docker builds Sep 26, 2022
@firewave firewave marked this pull request as ready for review September 26, 2022 11:02
@orbitcowboy orbitcowboy merged commit fd9d053 into cppcheck-opensource:main Sep 26, 2022
@firewave firewave deleted the ccache-precompiled branch September 26, 2022 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants