Created
January 31, 2015 21:45
-
-
Save hppritcha/83188fa4b22b11d811b7 to your computer and use it in GitHub Desktop.
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
AC_DEFUN([MCA_opal_pmix_cray_CONFIG], [ | |
AC_CONFIG_FILES([opal/mca/pmix/cray/Makefile]) | |
# | |
# check specifically for Cray PMI here | |
# | |
OPAL_CHECK_CRAY_PMI([pmix_cray], [pmix_cray_good=1], [pmix_cray_good=0]) | |
# Evaluate succeed / fail | |
AS_IF([test "$pmix_cray_good" = 1], | |
[$1 | |
# need to set the wrapper flags for static builds | |
pmix_cray_WRAPPER_EXTRA_LDFLAGS="$pmix_cray_LDFLAGS" | |
pmix_cray_WRAPPER_EXTRA_LIBS="$pmix_cray_LIBS"], | |
[$2]) | |
# set build flags to use in makefile | |
AC_SUBST([pmix_cray_CPPFLAGS]) | |
AC_SUBST([pmix_cray_LDFLAGS]) | |
AC_SUBST([pmix_cray_LIBS]) | |
]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment