< prev index next >

make/autoconf/jvm-features.m4

Print this page
@@ -305,11 +305,12 @@
  AC_DEFUN_ONCE([JVM_FEATURES_CHECK_SHENANDOAHGC],
  [
    JVM_FEATURES_CHECK_AVAILABILITY(shenandoahgc, [
      AC_MSG_CHECKING([if platform is supported by Shenandoah])
      if test "x$OPENJDK_TARGET_CPU_ARCH" = "xx86" || \
-         test "x$OPENJDK_TARGET_CPU" = "xaarch64" ; then
+         test "x$OPENJDK_TARGET_CPU" = "xaarch64" || \
+         test "x$OPENJDK_TARGET_CPU" = "xriscv64" ; then
        AC_MSG_RESULT([yes])
      else
        AC_MSG_RESULT([no, $OPENJDK_TARGET_CPU])
        AVAILABLE=false
      fi

@@ -355,11 +356,12 @@
          AC_MSG_RESULT([yes])
        else
          AC_MSG_RESULT([no, $OPENJDK_TARGET_OS-$OPENJDK_TARGET_CPU])
          AVAILABLE=false
        fi
-     elif test "x$OPENJDK_TARGET_CPU" = "xppc64le"; then
+     elif test "x$OPENJDK_TARGET_CPU" = "xppc64le" || \
+           test "x$OPENJDK_TARGET_CPU" = "xriscv64"; then
        if test "x$OPENJDK_TARGET_OS" = "xlinux"; then
          AC_MSG_RESULT([yes])
        else
          AC_MSG_RESULT([no, $OPENJDK_TARGET_OS-$OPENJDK_TARGET_CPU])
          AVAILABLE=false
< prev index next >