Skip to content

Conversation

@etiennemlb
Copy link
Contributor

When checking for the appropriate pmi functionalities, we use the module defined variables to get the library path, but we don't do that for the headers.

In the (common) situation where we load cray modules but do not use the wrapper, this breaks. By explicitly adding the include path, we wont get issues.

@matthiasdiener matthiasdiener self-requested a review April 23, 2025 18:34
Copy link
Contributor

@matthiasdiener matthiasdiener left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you try resetting the value of CMAKE_REQUIRED_INCLUDES after this test, similar to how CMAKE_REQUIRED_LIBRARIES is reset after the test?

@ritvikrao ritvikrao merged commit 6e72ffd into charmplusplus:main Apr 24, 2025
22 checks passed
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.

4 participants