Skip to content

test: probe header blast with Debug shared-only - #20

Closed
abnobdoss wants to merge 6 commits into
mainfrom
ci/test-header-blast
Closed

abnobdoss wants to merge 6 commits into
mainfrom
ci/test-header-blast

Conversation

@abnobdoss

Copy link
Copy Markdown
Owner

No description provided.

Default all platforms to Debug (was Release on Windows, Debug on Unix).
Build only the shared library (was both static and shared). The release
candidate workflow already validates Release builds on all platforms.
Vendored Boost hits PDB lock contention (C1041) when building Debug
with Ninja parallelism. The /Z7 flag was only applied when sccache
was the compiler launcher; apply it for all MSVC Debug builds.
The per-flag string replacement only affects the default CMAKE_*_FLAGS
but vendored Boost overrides them with target-level /Zi, causing PDB
lock contention under Ninja. CMP0141 + CMAKE_MSVC_DEBUG_INFORMATION_FORMAT
forces /Z7 for all targets including FetchContent dependencies.
Replace constexpr static PartitionValues with inline static const
since PartitionValues has a virtual base class (not a literal type).
MSVC Debug correctly rejects this; GCC/Clang are lenient.

Use generator expressions for test link targets so tests resolve
whichever library variant is available (static or shared).
Shared-only had unresolved export issues in tests. Static-only
achieves the same target reduction and tests already link static.
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