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 0bd3aee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions closed/autoconf/custom-hook.m4
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ 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 -a "x$OPENJ9_BUILD_OS" = xosx ; then
AC_MSG_ERROR([AArch64 macOS build requires --with-cmake])
fi
else
OPENJ9_ENABLE_CMAKE=true
if AS_EXECUTABLE_P(["$with_cmake"]) ; then
Expand Down

0 comments on commit 0bd3aee

Please sign in to comment.