Skip to content

Commit 196bb86

Browse files
RandomDSdevelggouaillardet
authored andcommitted
config/opal_setup_java.m4: Fix #5015.
That PR accidentally changed Open MPI's build configuration infrastruc- ture's Java toolchain detection logic so that it would, as reported by @bosilca in #5001 (comment) and tracked down by me in #5001 (comment), abort your entire in-progress Open MPI build when it failed to find an OS X/macOS JDK instead of simply falling back to checking for a JDK in locations where it would be found on other platforms. _Oops…!_ Signed-off-by: Bryce Glover <[email protected]> (cherry picked from commit 4a05c7e)
1 parent e5c63e7 commit 196bb86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/opal_setup_java.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ AC_DEFUN([OPAL_SETUP_JAVA],[
113113
with_jdk_headers=$opal_java_dir/include
114114
with_jdk_bindir=$opal_java_dir/bin
115115
else
116-
AC_MSG_WARN([No recognized directory structure found under $opal_java_dir])
117-
AC_MSG_ERROR([Cannot continue])
116+
AC_MSG_WARN([No recognized OS X/macOS JDK directory structure found under $opal_java_dir])
117+
opal_java_found=0
118118
fi],
119119
[AC_MSG_RESULT([not found])])
120120

0 commit comments

Comments
 (0)