Skip to content

Configure explicit GCC toolchain and Bzlmod version propagation.#363

Draft
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_949334471
Draft

Configure explicit GCC toolchain and Bzlmod version propagation.#363
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_949334471

Conversation

@copybara-service

Copy link
Copy Markdown

Configure explicit GCC toolchain and Bzlmod version propagation.

Integrate GCC as a configurable compiler option alongside Clang in the Gloop toolchain setup.
Add a Bzlmod module extension (extensions.bzl) to dynamically resolve CLANG_VERSION and GCC_VERSION from the build environment (--repo_env flags written to /etc/bazel.bazelrc during Docker build), removing the need for manual Starlark version updates.

Migrate TCMalloc CI to use the new lightweight gloop-linux-toolchain-latest image and register the explicit toolchains.
Refactor the Dockerfile to move compiler packages (build-essential, gcc, g++) from the slim toolchain stage to the final execution stage, keeping the GHA runner image as lean as possible.

@copybara-service
copybara-service Bot force-pushed the test_949334471 branch 8 times, most recently from 134ec75 to 56f8bd1 Compare July 17, 2026 16:54
Integrate GCC as a configurable compiler option alongside Clang in the Gloop toolchain setup.
Add a Bzlmod module extension (`extensions.bzl`) to dynamically resolve `CLANG_VERSION` and `GCC_VERSION` from the build environment (`--repo_env` flags written to `/etc/bazel.bazelrc` during Docker build), removing the need for manual Starlark version updates.

Migrate TCMalloc CI to use the new lightweight `gloop-linux-toolchain-latest` image and register the explicit toolchains.
Refactor the Dockerfile to move compiler packages (`build-essential`, `gcc`, `g++`) from the slim toolchain stage to the final execution stage, keeping the GHA runner image as lean as possible.

PiperOrigin-RevId: 949334471
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.

1 participant