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

Fix PMIx configury #1255

Closed
wants to merge 1 commit into from
Closed

Fix PMIx configury #1255

wants to merge 1 commit into from

Conversation

rhc54
Copy link
Contributor

@rhc54 rhc54 commented Mar 9, 2022

Need to add the "/pmix" subdirectory to the CPPFLAGS in order
to find the PMIx devel headers

Signed-off-by: Ralph Castain rhc@pmix.org

@rhc54 rhc54 requested a review from bwbarrett March 9, 2022 00:00
@rhc54
Copy link
Contributor Author

rhc54 commented Mar 9, 2022

Commit after #1254

Need to add the "/pmix" subdirectory to the CPPFLAGS in order
to find the PMIx devel headers

Signed-off-by: Ralph Castain <rhc@pmix.org>
@@ -73,6 +73,7 @@ AC_DEFUN([PRTE_CHECK_PMIX],[
AC_MSG_ERROR([Cannot continue.])])

prte_external_pmix_save_CPPFLAGS=$CPPFLAGS
PRTE_FLAGS_PREPEND_UNIQ(CPPFLAGS, $prte_pmix_CPPFLAGS/pmix)
Copy link
Contributor

@bwbarrett bwbarrett Mar 9, 2022

Choose a reason for hiding this comment

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

This won't work in the general case. $prte_pmix_CPPFLAGS is likely to include more than one -I (for example, if it used pkg-config or pmixcc, it should contain -I${prefix}/include -I${prefix}/include/pmix). I thought I covered all the use cases such that you wouldn't need this. Can you open an issue with the output of configure (or config.log) from PRRTE and I'll sort out what went wrong?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay - I'm puzzled how this made it thru our CI as all PRs are now failing. Very odd.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh now this is really weird - it built correctly this time! I'll poke some more at this to see what's going on.

@rhc54 rhc54 closed this Mar 9, 2022
@rhc54 rhc54 deleted the topic/cfg branch March 9, 2022 01:15
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.

2 participants