Skip to content

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