forked from flux-framework/flux-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: add --enable-pmix-bootstrap support
Problem: on some platforms PMIx is the preferred mechanism to use for bootstrapping Flux. Prepare to add PMIx support to the Flux broker by adding an "opt in" configure option: --enable-pmix-bootstrap. If specified, pkg-config is used to locate a suitable pmix package. Configure fails if pmix is requested but not found. Add PMIX_LIBS and PMIX_CFLAGS to the broker Makefile.am. Co-authored-by: Jim Garlick <[email protected]>
- Loading branch information
1 parent
428762d
commit 9a2bc3e
Showing
3 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# It is fatal if --enable-pmix-bootstrap and pmix package not found. | ||
# (PKG_CHECK_MODULES default behavior is to fail if package not found) | ||
AC_DEFUN([X_AC_PMIX], [ | ||
AC_ARG_ENABLE([pmix-bootstrap], | ||
AS_HELP_STRING([--enable-pmix-bootstrap], [Enable PMIx bootstrap])) | ||
AS_IF([test "x$enable_pmix_bootstrap" = "xyes"], [ | ||
PKG_CHECK_MODULES([PMIX], [pmix]) | ||
AC_DEFINE([HAVE_LIBPMIX], [1], [Enable PMIx bootstrap]) | ||
]) | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters