Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

utils/lstopo: don't build lstopo-win with MSVC #632

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bgoglin
Copy link
Contributor

@bgoglin bgoglin commented Oct 24, 2023

Clang can be used in "MSVC mode" to build hwloc using autotools. That mode doesn't support -mwindows just like MSVC doesn't. -mwindows is the only difference between lstopo-win and lstopo, so just disable lstopo-win instead of building both identically.

Closes #631

@bgoglin bgoglin force-pushed the issue-631 branch 2 times, most recently from 939fa20 to ca5d25a Compare October 24, 2023 12:45
Clang can be used in "MSVC mode" to build hwloc using autotools.
That mode doesn't support -mwindows just like MSVC doesn't.

Closes open-mpi#631

Signed-off-by: Brice Goglin <[email protected]>
Clang can be used in "MSVC mode" to build hwloc using autotools.
That mode doesn't support -mwindows just like MSVC doesn't.
-mwindows is the only difference between lstopo-win and lstopo,
so just disable lstopo-win instead of building both identically.

Closes open-mpi#631

Signed-off-by: Brice Goglin <[email protected]>
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.

unsupported option '-mwindows' for target 'x86_64-pc-windows-msvc'
1 participant