Configure explicit GCC toolchain and Bzlmod version propagation.#363
Draft
copybara-service[bot] wants to merge 1 commit into
Draft
Configure explicit GCC toolchain and Bzlmod version propagation.#363copybara-service[bot] wants to merge 1 commit into
copybara-service[bot] wants to merge 1 commit into
Conversation
copybara-service
Bot
force-pushed
the
test_949334471
branch
8 times, most recently
from
July 17, 2026 16:54
134ec75 to
56f8bd1
Compare
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
copybara-service
Bot
force-pushed
the
test_949334471
branch
from
July 17, 2026 19:54
56f8bd1 to
c8ed02f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 resolveCLANG_VERSIONandGCC_VERSIONfrom the build environment (--repo_envflags written to/etc/bazel.bazelrcduring Docker build), removing the need for manual Starlark version updates.Migrate TCMalloc CI to use the new lightweight
gloop-linux-toolchain-latestimage 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.