< prev index next >

make/autoconf/jvm-features.m4

Print this page
*** 305,11 ***
  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
        AC_MSG_RESULT([yes])
      else
        AC_MSG_RESULT([no, $OPENJDK_TARGET_CPU])
        AVAILABLE=false
      fi
--- 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" || \
+         test "x$OPENJDK_TARGET_CPU" = "xriscv64" ; then
        AC_MSG_RESULT([yes])
      else
        AC_MSG_RESULT([no, $OPENJDK_TARGET_CPU])
        AVAILABLE=false
      fi

*** 355,10 ***
--- 356,17 ---
          AC_MSG_RESULT([yes])
        else
          AC_MSG_RESULT([no, $OPENJDK_TARGET_OS-$OPENJDK_TARGET_CPU])
          AVAILABLE=false
        fi
+     elif 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
+       fi
      else
        AC_MSG_RESULT([no, $OPENJDK_TARGET_OS-$OPENJDK_TARGET_CPU])
        AVAILABLE=false
      fi
  
< prev index next >