As part of https://github.com/bazelbuild/bazel/issues/21198, this PR adds an example on how to set up a minimal hermetic gcc toolchain without advanced features like feature and action_config.
Follow-up PRs will include
Clang toolchain for single-platform build
Clang toolchain for cross-compilation build. The toolchain includes example of using feature and action_config to further configure the cc actions.
Once these PRs are merged, I'll put up a separate tutorial to cover the new cc toolchain resolution API alongside with the hermetic toolchain examples to replace https://bazel.build/tutorials/ccp-toolchain-config.
As part of https://github.com/bazelbuild/bazel/issues/21198, this PR adds an example on how to set up a minimal hermetic gcc toolchain without advanced features like
feature
andaction_config
.Follow-up PRs will include
feature
andaction_config
to further configure the cc actions.Once these PRs are merged, I'll put up a separate tutorial to cover the new cc toolchain resolution API alongside with the hermetic toolchain examples to replace https://bazel.build/tutorials/ccp-toolchain-config.