changeset 34105:ce71d2b2f34b

8144172: Problem with bootcycle-images and sjavac Reviewed-by: ihse
author erikj
date Fri, 27 Nov 2015 16:29:22 +0100
parents 8f2e01846289
children 967bd03e052b ca5926d71db7
files common/autoconf/bootcycle-spec.gmk.in make/Main.gmk
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/common/autoconf/bootcycle-spec.gmk.in	Wed Nov 25 15:56:29 2015 +0100
+++ b/common/autoconf/bootcycle-spec.gmk.in	Fri Nov 27 16:29:22 2015 +0100
@@ -59,3 +59,8 @@
 JAR_CMD:=$(BOOT_JDK)/bin/jar
 JARSIGNER_CMD:=$(BOOT_JDK)/bin/jarsigner
 SJAVAC_SERVER_JAVA_CMD:=$(JAVA_CMD)
+# When building a 32bit target, make sure the sjavac server flags are compatible
+# with a 32bit JVM.
+ifeq ($(OPENJDK_TARGET_CPU_BITS), 32)
+  SJAVAC_SERVER_JAVA_FLAGS:= -Xms256M -Xmx1500M
+endif
--- a/make/Main.gmk	Wed Nov 25 15:56:29 2015 +0100
+++ b/make/Main.gmk	Fri Nov 27 16:29:22 2015 +0100
@@ -226,8 +226,8 @@
 BOOTCYCLE_TARGET := product-images
 bootcycle-images:
 	@$(ECHO) Boot cycle build step 2: Building a new JDK image using previously built image
-	+$(MAKE) $(MAKE_ARGS) -f $(SRC_ROOT)/make/Main.gmk \
-	    SPEC=$(dir $(SPEC))bootcycle-spec.gmk $(BOOTCYCLE_TARGET)
+	+$(MAKE) -f $(SRC_ROOT)/make/Init.gmk PARALLEL_TARGETS=$(BOOTCYCLE_TARGET) \
+	    JOBS= SPEC=$(dir $(SPEC))bootcycle-spec.gmk main
 
 zip-security:
 	+($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f ZipSecurity.gmk)