Skip to content

v2025.07.22

Choose a tag to compare

@github-actions github-actions released this 22 Jul 17:09
· 32 commits to main since this release

Bazel

Add to your MODULE.bazel file:

bazel_dep(name = "portable_cc_toolchain", version = "2025.07.22")

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.22/cmake_portable_cc_toolchain-v2025.07.22.tar.gz"
    SOURCE_DIR ${CMAKE_BINARY_DIR}/portable_cc_toolchain
    URL_HASH SHA256=b78f2beecaac933a74bf9e2b879c0c5337934dcf6a040a8f073a04e0cdac8d3b
)
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.21...v2025.07.22