Skip to content

Commit

Permalink
Show error message for --with-cmake=no on AArch64 macOS.
Browse files Browse the repository at this point in the history
OpenJ9 build for AArch64 macOS requires Cmake.  This commit shows an
error message when --with-cmake=no is specified on the platform.

Signed-off-by: KONNO Kazuhiro <[email protected]>
  • Loading branch information
knn-k committed May 14, 2024
1 parent 3531eb0 commit f2bc81d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions closed/autoconf/custom-hook.m4
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ AC_DEFUN([OPENJ9_CONFIGURE_CMAKE],
if test "x$OMR_MIXED_REFERENCES_MODE" != xoff ; then
AC_MSG_ERROR([[--with-mixedrefs=[static|dynamic] requires --with-cmake]])
fi
if test "x$OPENJ9_CPU" = xaarch64 ; then
if test "x$OPENJ9_BUILD_OS" = xosx ; then
AC_MSG_ERROR([AArch64 macOS build requires --with-cmake])
fi
fi
else
OPENJ9_ENABLE_CMAKE=true
if AS_EXECUTABLE_P(["$with_cmake"]) ; then
Expand Down

0 comments on commit f2bc81d

Please sign in to comment.