acts-project / acts-project/acts

`common` CMake preset requires ccache

Open
#3,537 6 comments 0 reactions 0 assignees View on GitHub
Infrastructure Stale
Dominant language
C++
Stars
131
Forks
276
Avg merge
3d 13h
Merged PRs (30d)
112

Description

I've been trying to use the `github-ci` preset as a sort of "build everything, so if it works locally it will most likely pass the CI" build. However, I have noticed that this sets ccache as the compiler launcher. Makes sense, of course, for a CI preset. However, it appears that ccache is required in the `common` preset, from which all others inherit.

In my mind, it would be useful to have an "everything" preset for local builds, which does not require ccache. Given the multiple inheritance that CMake presets allow, I'd suggest we could have a `ccache` preset which sets `ccache`, and then `common` could have the launcher flag removed. We could then also have some kind of `everything` flag which would just build everything, like the `ACTS_BUILD_EVERYTHING` flag used to do.

Looking to see if anyone has any opinions on this so we can come to a nice compromise that everyone agrees with.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.