Skip to content

v2025.04.14

Choose a tag to compare

@github-actions github-actions released this 14 Apr 05:47
· 116 commits to main since this release
68f8121

Bazel

Add to your MODULE.bazel file:

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

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.04.14/cmake_portable_cc_toolchain-v2025.04.14.tar.gz"
    SOURCE_DIR ${CMAKE_BINARY_DIR}/portable_cc_toolchain
    URL_HASH SHA256=09444fb5948f7651043addd54b3289bcb50942427df19165ccc3fa7b47cc5c78
)
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)

Full Changelog: v2025.04.10...v2025.04.14