CI: Add sccache with GCS remote backend with ccache fallback.
Integrate the sccache compiler launcher for Google Cloud Storage
remote object caching (gs://eigen-gitlab-ci-cache) across Linux and Windows
CI pipelines, with fallback to ccache when GCS credentials or sccache
are unavailable.
- Extract compiler cache binary provisioning into dedicated scripts:
* ci/scripts/install_compiler_cache.sh: provisions static musl sccache and
ccache binaries for x86_64 and aarch64 with strict SHA-256 verification.
* ci/scripts/install_compiler_cache.ps1: provisions sccache and ccache
binaries with strict SHA-256 verification and MSVC >= 4.8 guard.
- In ci/scripts/build.linux.script.sh:
* Source install_compiler_cache.sh to provision sccache and ccache binaries.
* Validate sccache server startup with GCS backend before selecting compiler launcher.
* Gracefully fall back to ccache if GCS authentication or sccache startup fails.
* Export SCCACHE_BASEDIRS for cross-runner / cross-directory cache hits.
* Isolate SCCACHE_SERVER_PORT per job to prevent concurrent runner collisions.
- In ci/scripts/build.windows.script.ps1:
* Call Install-Sccache and Install-Ccache from install_compiler_cache.ps1.
* Validate sccache server startup with GCS backend before selecting compiler launcher.
* Gracefully fall back to ccache if GCS authentication or sccache startup fails.
* Isolate SCCACHE_SERVER_PORT per job and set SCCACHE_BASEDIRS.
- Cache tool binaries and object cache separately across Linux and Windows CI configs.
Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
For more information go to http://eigen.tuxfamily.org/ or https://libeigen.gitlab.io.
For pull request, bug reports, and feature requests, go to https://gitlab.com/libeigen/eigen.