This repository contains the configuration layer for S-CORE C and C++ toolchains used in Bazel builds. It does not ship compiler binaries. Instead, it defines the metadata, templates, repository rules, module extension logic, and validation workspace needed to fetch and register external toolchain packages reproducibly.
The documentation below is organized around the main subsystems of the repository: how consumers declare toolchains, how Bazel repositories are generated, how platform packages are described, how the test workspace validates the setup, and how QNX-specific authentication and licensing fit in.
- Overview
- Repository layout
- Extension API
- Generation flow
- Linux toolchain feature set
- QNX toolchain feature set
- Tests and validation
- QNX integration
- Test Suite
- Maintenance
Module: S-CORE Bazel C/C++ toolchain configurations
Type: Bazel module with repository rules, templates, and example validation
Primary consumer entry point: @score_bazel_cpp_toolchains//extensions:gcc.bzl
Main validation surface: tests/ smoke-test workspace
- Define Linux and QNX toolchains through a Bzlmod extension.
- Resolve default package metadata through
packages/version_matrix.bzl. - Generate toolchain repositories from platform-specific templates.
- Validate toolchain selections through the workspace test matrix.