v2025.07.21
·
38 commits
to main
since this release
Bazel
Add to your MODULE.bazel file:
bazel_dep(name = "portable_cc_toolchain", version = "2025.07.21")
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.21/cmake_portable_cc_toolchain-v2025.07.21.tar.gz"
SOURCE_DIR ${CMAKE_BINARY_DIR}/portable_cc_toolchain
URL_HASH SHA256=3df52a4bdfc43b46a07c98f836f69594b725c6649d47ec679d288abd993a28f6
)
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.19...v2025.07.21