Skip to content

Commit

Permalink
Fix PMIx configury
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
rhc54 committed Mar 8, 2022
1 parent 049f91b commit dfed193
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/prte_setup_pmix.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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)
PRTE_FLAGS_PREPEND_UNIQ(CPPFLAGS, $prte_pmix_CPPFLAGS)
# if the version file exists, then we need to parse it to find
Expand All @@ -98,6 +99,7 @@ AC_DEFUN([PRTE_CHECK_PMIX],[
CPPFLAGS=$prte_external_pmix_save_CPPFLAGS
PRTE_FLAGS_APPEND_UNIQ(PRTE_FINAL_CPPFLAGS, $prte_pmix_CPPFLAGS)
PRTE_FLAGS_APPEND_UNIQ(PRTE_FINAL_CPPFLAGS, $prte_pmix_CPPFLAGS/pmix)
PRTE_FLAGS_APPEND_UNIQ(PRTE_FINAL_LDFLAGS, $prte_pmix_LDFLAGS)
PRTE_FLAGS_APPEND_UNIQ(PRTE_FINAL_LIBS, $prte_pmix_LIBS)
Expand Down

0 comments on commit dfed193

Please sign in to comment.