changeset 2706:d3eb8e1c6de5

PR1713: Support AArch64 port 2014-03-27 Andrew John Hughes <gnu.andrew@member.fsf.org> * acinclude.m4: (IT_ENABLE_ZERO_BUILD): Default to off on aarch64/arm64. (IT_WITH_HOTSPOT_BUILD): Default to aarch64 port on aarch64.
author Andrew John Hughes <gnu_andrew@member.fsf.org>
date Wed, 02 Apr 2014 20:10:19 +0100
parents 6058e8604054
children 579668bd82f7
files ChangeLog acinclude.m4
diffstat 2 files changed, 13 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Apr 02 20:07:23 2014 +0100
+++ b/ChangeLog	Wed Apr 02 20:10:19 2014 +0100
@@ -1,3 +1,9 @@
+2014-03-27  Andrew John Hughes  <gnu.andrew@member.fsf.org>
+
+	* acinclude.m4:
+	(IT_ENABLE_ZERO_BUILD): Default to off on aarch64/arm64.
+	(IT_WITH_HOTSPOT_BUILD): Default to aarch64 port on aarch64.
+
 2014-04-02  Andrew John Hughes  <gnu.andrew@member.fsf.org>
 
 	* Makefile.am:
--- a/acinclude.m4	Wed Apr 02 20:07:23 2014 +0100
+++ b/acinclude.m4	Wed Apr 02 20:10:19 2014 +0100
@@ -692,6 +692,8 @@
       use_zero=yes;
     else
       case "${host_cpu}" in
+        aarch64) ;;
+        arm64) ;;
         i?86) ;;
         sparc) ;;
         x86_64) ;;
@@ -953,7 +955,11 @@
 AC_DEFUN_ONCE([IT_WITH_HOTSPOT_BUILD],
 [
   AC_REQUIRE([IT_ENABLE_ZERO_BUILD])
-  DEFAULT_BUILD="default"
+  if test "x$JRE_ARCH_DIR" = "xaarch64"; then
+    DEFAULT_BUILD="aarch64"
+  else
+    DEFAULT_BUILD="default"
+  fi
   AC_MSG_CHECKING([which HotSpot build to use])
   AC_ARG_WITH([hotspot-build],
 	      [AS_HELP_STRING(--with-hotspot-build=BUILD,the HotSpot build to use [[BUILD=default]])],