Skip to content

Commit

Permalink
enable cds on macos arm
Browse files Browse the repository at this point in the history
  • Loading branch information
joebraley committed Nov 28, 2023
1 parent 98b8e3d commit ceaf4a6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions make/autoconf/hotspot.m4
Original file line number Diff line number Diff line change
Expand Up @@ -281,12 +281,12 @@ AC_DEFUN_ONCE([HOTSPOT_ENABLE_DISABLE_CDS],
fi
# Disable CDS on macos-aarch64
if test "x$OPENJDK_TARGET_OS" = "xmacosx" && test "x$OPENJDK_TARGET_CPU" = "xaarch64"; then
ENABLE_CDS="false"
if test "x$enable_cds" = "xyes"; then
AC_MSG_ERROR([CDS is currently not supported on macOS/aarch64. Remove --enable-cds.])
fi
fi
# if test "x$OPENJDK_TARGET_OS" = "xmacosx" && test "x$OPENJDK_TARGET_CPU" = "xaarch64"; then
# ENABLE_CDS="false"
# if test "x$enable_cds" = "xyes"; then
# AC_MSG_ERROR([CDS is currently not supported on macOS/aarch64. Remove --enable-cds.])
# fi
# fi
AC_SUBST(ENABLE_CDS)
])
Expand Down

0 comments on commit ceaf4a6

Please sign in to comment.