1
1

cma: restore --with-cma=no configure option

This support broke when we enabled CMA by default. Addreses the issue
raised by #3270.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
This commit is contained in:
Nathan Hjelm 2017-04-03 10:42:07 -06:00
parent b398d721d5
commit 533a8e6dae

View File

@ -22,6 +22,10 @@ AC_DEFUN([OPAL_CHECK_CMA],[
[AC_HELP_STRING([--with-cma],
[Build Cross Memory Attach support (default: autodetect)])])
if test "x$with_cma" = "xno" ; then
opal_check_cma_happy=0
fi
# We only need to do the back-end test once
if test -z "$opal_check_cma_happy" ; then
OPAL_CHECK_CMA_BACKEND