Debian Codegraph @

extra/protobuf/protobuf-24.4/ci/README.md

raw
1 This directory contains CI-specific tooling.
2
3 # Clang wrappers
4
5 CMake allows for compiler wrappers to be injected such as ccache, which
6 intercepts compiler calls and short-circuits on cache-hits. This can be done
7 by specifying `CMAKE_C_COMPILER_LAUNCHER` and `CMAKE_CXX_COMPILER_LAUNCHER`
8 during CMake's configure step. Unfortunately, X-Code doesn't provide anything
9 like this, so we use basic wrapper scripts to invoke ccache + clang.
10
11 # Bazelrc files
12
13 In order to allow platform-specific `.bazelrc` flags during testing, we keep
14 3 different versions here along with a shared `common.bazelrc` that they all
15 include. Our GHA infrastructure will select the appropriate file for any test
16 and overwrite the default `.bazelrc` in our workspace, which is intended for
17 development only.