You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build hwloc via ExternalProject_Add instead of raw add_custom_command
The static-hwloc autotools build (FetchContent + hand-written
add_custom_command chain for autogen.sh/configure/make/make install) never
forwarded CC/CXX to hwloc's ./configure, so it silently picked up the
ambient host compiler instead of the one CMake was configured to use
(e.g. icpx under a sysroot- or toolchain-file-pinned build), risking an
ABI mismatch against the rest of the build.
Switch to ExternalProject_Add, which fetches/patches/configures/builds/
installs hwloc as a single well-defined external project step and lets
us explicitly pass CC/CXX through to configure. The Coverity security
patch, previously applied via a post-FetchContent execute_process(), now
runs through ExternalProject's PATCH_COMMAND for the non-Windows path.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
0 commit comments