Skip to content

Migrate CI to boost-ci shared workflow#140

Merged
timblechmann merged 10 commits into
developfrom
feature/shared-ci
May 28, 2026
Merged

Migrate CI to boost-ci shared workflow#140
timblechmann merged 10 commits into
developfrom
feature/shared-ci

Conversation

@timblechmann
Copy link
Copy Markdown
Collaborator

No description provided.

@timblechmann timblechmann force-pushed the feature/shared-ci branch 4 times, most recently from 761eab1 to 9442bd6 Compare May 27, 2026 13:53
Before c++17, std::atomic was not initializing their members, causing
undefined behaviour.
Fixes icpx 128-bit atomic compare_exchange undefined reference.
The __atomic_compare_exchange builtin requires explicit -latomic
linkage on Linux for icpx (Intel DPC++) and clang when using 128-bit
atomics with tagged_index.
…ary config

Add test/cmake_test/CMakeLists.txt (new unified folder the CI checks
first) with BOOST_CI_INSTALL_TEST branching, replacing the old
cmake_install_test fallback. Also update cmake_install_test for
backward compatibility.

Root cause: b2 install calls boost-install.boost-install with empty
library list for header-only libs lacking the 'install' option.
BoostConfig.cmake is generated unconditionally, but per-library
boost_lockfree-config.cmake is skipped. So find_package(Boost CONFIG
REQUIRED COMPONENTS lockfree) fails because boost_find_component cannot
find the per-library config.

Fix: Use find_package(Boost CONFIG QUIET COMPONENTS lockfree) first.
If Boost::lockfree target wasn't created (B2 install case), create it
manually as INTERFACE IMPORTED using include dirs from Boost::headers.

Aligns with boost.heap PR#62 fixes.
Addresses all UBSan and AddressSanitizer failures detected in latest CI:

- Fix UBSan out-of-bounds-index in spsc_queue_test.cpp:200
  Use std::distance() for iterator comparisons instead of raw pointer
  comparisons to avoid false positives

- Fix 384-byte AddressSanitizer leak in freelist_test
  Track and destruct all allocated nodes in oom_test() and drain
  remaining nodes in test destructor
@timblechmann timblechmann force-pushed the feature/shared-ci branch 4 times, most recently from fc50d12 to 6c18b2e Compare May 28, 2026 07:53
@timblechmann timblechmann merged commit 3580859 into develop May 28, 2026
122 checks passed
@timblechmann timblechmann deleted the feature/shared-ci branch May 28, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant