From 1686f57663c6c623b490f2488dd0e604b1bb5faf Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Thu, 22 Jan 2026 23:24:49 +0300 Subject: [PATCH] Remove dependencies on Boost.StaticAssert. Boost.StaticAssert has been merged into Boost.Config and its submodule should not be used anymore, so remove the dependency and tesing the library in CI. Boost.StaticAssert is still retained in include_library.yml GHA config to continue testing the submodule until it is removed, at request by Peter Dimov. --- .github/workflows/ci.yml | 2 +- test/boost_fetch/CMakeLists.txt | 1 - test/boost_test/CMakeLists.txt | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b07cb2a..98e78b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -507,7 +507,7 @@ jobs: cd .. git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root cd boost-root - git submodule update --init libs/core libs/assert libs/config libs/static_assert libs/throw_exception + git submodule update --init libs/core libs/assert libs/config libs/throw_exception rm -rf tools/cmake/* cp -r $GITHUB_WORKSPACE/* tools/cmake diff --git a/test/boost_fetch/CMakeLists.txt b/test/boost_fetch/CMakeLists.txt index ab8ad73..05bd925 100644 --- a/test/boost_fetch/CMakeLists.txt +++ b/test/boost_fetch/CMakeLists.txt @@ -16,7 +16,6 @@ set(BUILD_TESTING OFF) # hide cache variable boost_fetch(boostorg/assert TAG develop EXCLUDE_FROM_ALL) boost_fetch(boostorg/config TAG develop EXCLUDE_FROM_ALL) boost_fetch(boostorg/core TAG develop EXCLUDE_FROM_ALL) -boost_fetch(boostorg/static_assert TAG develop EXCLUDE_FROM_ALL) boost_fetch(boostorg/throw_exception TAG develop EXCLUDE_FROM_ALL) unset(BUILD_TESTING) diff --git a/test/boost_test/CMakeLists.txt b/test/boost_test/CMakeLists.txt index f08927d..d862215 100644 --- a/test/boost_test/CMakeLists.txt +++ b/test/boost_test/CMakeLists.txt @@ -13,7 +13,6 @@ set(BUILD_TESTING OFF) # hide cache variable add_subdirectory(../../../../libs/assert EXCLUDE_FROM_ALL boostorg/assert) add_subdirectory(../../../../libs/config EXCLUDE_FROM_ALL boostorg/config) add_subdirectory(../../../../libs/core EXCLUDE_FROM_ALL boostorg/core) -add_subdirectory(../../../../libs/static_assert EXCLUDE_FROM_ALL boostorg/static_assert) add_subdirectory(../../../../libs/throw_exception EXCLUDE_FROM_ALL boostorg/throw_exception) unset(BUILD_TESTING)