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

Resolving hwloc cmake build issues #3847

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

mayantaylor
Copy link
Collaborator

@mayantaylor mayantaylor commented Oct 15, 2024

On systems with a system-local hwloc installation, the cmake charm++ build fails, as outlined in #3843 . I've never written autoconf before so I'm looking for feedback on this fix. Might be too hacky...

The issue, as suggested by compiler warnings, is that the HWLOC_SYM_* variables are defined twice, due to inadequate #ifdef wrapping. Specifically, two different header #ifdefs that don't align (HWLOC_CONF_H and HWLOC_CONFIGURE_H). At first I thought that header naming might be the issue, but the distinction is necessary.

Note that this PR does fix the mentioned issue.

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