Skip to content

Commit 533a8e6

Browse files
committed
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 <[email protected]>
1 parent b398d72 commit 533a8e6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config/opal_check_cma.m4

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ AC_DEFUN([OPAL_CHECK_CMA],[
2222
[AC_HELP_STRING([--with-cma],
2323
[Build Cross Memory Attach support (default: autodetect)])])
2424

25+
if test "x$with_cma" = "xno" ; then
26+
opal_check_cma_happy=0
27+
fi
28+
2529
# We only need to do the back-end test once
2630
if test -z "$opal_check_cma_happy" ; then
2731
OPAL_CHECK_CMA_BACKEND

0 commit comments

Comments
 (0)