Skip to content

Test nightly with static hwloc - #1586

Closed
lukaszstolarczuk wants to merge 3 commits into
oneapi-src:mainfrom
lukaszstolarczuk:test-nightly-with-static-hwloc
Closed

Test nightly with static hwloc#1586
lukaszstolarczuk wants to merge 3 commits into
oneapi-src:mainfrom
lukaszstolarczuk:test-nightly-with-static-hwloc

Conversation

@lukaszstolarczuk

Copy link
Copy Markdown
Collaborator

nightly testing of #1585

wenju-he and others added 3 commits July 8, 2026 06:36
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>
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.

3 participants