changeset 2487:9f4eced56544 icedtea6-1.10

Allow parallel (-jx) builds of IcedTea by explicitly passing -j1 to the underlying OpenJDK build. 2011-03-02 Andrew John Hughes <ahughes@redhat.com> * Makefile.am: (icedtea): Explicitly set -j1 for the legacy OpenJDK build as it can't handle parallelism correctly. This allows the main IcedTea build to be parallel while still allowing OpenJDK to build. (icedtea-debug): Likewise. (icedtea-ecj): Likewise.
author Andrew John Hughes <ahughes@redhat.com>
date Wed, 02 Mar 2011 20:42:48 +0000
parents 767e82690eb3
children 6e809b822ad1
files ChangeLog Makefile.am
diffstat 2 files changed, 14 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Mar 02 19:47:16 2011 +0000
+++ b/ChangeLog	Wed Mar 02 20:42:48 2011 +0000
@@ -1,3 +1,14 @@
+2011-03-02  Andrew John Hughes  <ahughes@redhat.com>
+
+	* Makefile.am:
+	(icedtea): Explicitly set -j1 for the
+	legacy OpenJDK build as it can't handle
+	parallelism correctly.  This allows the
+	main IcedTea build to be parallel while
+	still allowing OpenJDK to build.
+	(icedtea-debug): Likewise.
+	(icedtea-ecj): Likewise.
+
 2011-03-02  Andrew John Hughes  <ahughes@redhat.com>
 
 	* Makefile.am:
--- a/Makefile.am	Wed Mar 02 19:47:16 2011 +0000
+++ b/Makefile.am	Wed Mar 02 20:42:48 2011 +0000
@@ -1322,7 +1322,7 @@
 stamps/icedtea.stamp: stamps/bootstrap-directory-symlink.stamp \
  $(OPENJDK_TREE) stamps/cacao.stamp stamps/rewrite-rhino.stamp \
  stamps/jamvm.stamp
-	$(ARCH_PREFIX) $(MAKE) \
+	$(ARCH_PREFIX) $(MAKE) -j1 \
 	  $(ICEDTEA_ENV) \
 	  -C openjdk \
 	  $(ICEDTEA_BUILD_TARGET)
@@ -1353,7 +1353,7 @@
 stamps/icedtea-debug.stamp: stamps/bootstrap-directory-symlink.stamp \
  $(OPENJDK_TREE) stamps/cacao.stamp stamps/rewrite-rhino.stamp \
  stamps/jamvm.stamp
-	$(ARCH_PREFIX) $(MAKE) \
+	$(ARCH_PREFIX) $(MAKE) -j1 \
 	  $(ICEDTEA_ENV) \
 	  -C openjdk \
 	  $(ICEDTEA_DEBUG_BUILD_TARGET)
@@ -1549,7 +1549,7 @@
 stamps/icedtea-ecj.stamp: stamps/bootstrap-directory-symlink-ecj.stamp \
  $(OPENJDK_ECJ_TREE) stamps/jamvm.stamp stamps/cacao.stamp \
  stamps/rewrite-rhino.stamp
-	$(ARCH_PREFIX) $(MAKE) \
+	$(ARCH_PREFIX) $(MAKE) -j1 \
 	  $(ICEDTEA_ENV_ECJ) \
 	  -C openjdk-ecj/ \
 	  $(ICEDTEA_BUILD_TARGET)