v2025.07.28
·
25 commits
to main
since this release
Bazel
Add to your MODULE.bazel file:
bazel_dep(name = "portable_cc_toolchain", version = "2025.07.28")
toolchain = use_extension("@portable_cc_toolchain//:extensions.bzl", "toolchain")CMake
Add to your CMakeLists.txt file (before project):
FetchContent_Declare(
PortableCcToolchain
URL "https://github.com/CACI-International/cpp-toolchain/releases/download/v2025.07.28/cmake_portable_cc_toolchain-v2025.07.28.tar.gz"
SOURCE_DIR ${CMAKE_BINARY_DIR}/portable_cc_toolchain
URL_HASH SHA256=7403d323d6cea0f32773f259ac9a73a2379e5f9d9bc55dbca83cd5ebde975ee1
)
FetchContent_MakeAvailable(PortableCcToolchain)To enable the toolchain, set CMAKE_TOOLCHAIN_FILE to portable_cc_toolchain/toolchain.cmake.
For cross-compiling, set CMAKE_TOOLCHAIN_FILE to portable_cc_toolchain/<target>.cmake (e.g. aarch64-unknown-linux-gnu.cmake)
Component Versions
These integrations use the following components:
| Component | Version |
|---|---|
| LLVM (clang) | 20.1.8 |
| libstdc++ | 15.2.1 |
| glibc | 2.17 |
| Linux kernel headers | 3.10.108 |
Full Changelog: v2025.07.22...v2025.07.28