# HG changeset patch # User Christopher Rogers # Date 1287631113 0 # Node ID 8ad8877e8d87f9a6f2553088f175dfe6f8bccd80 # Parent 685f070bd605defd71f873bd7f0fdc0c38541ff5 Added parallel compile for icedtea6-jdk. openjdk has a special way of doing it. diff -r 685f070bd605 -r 8ad8877e8d87 icedtea6-jdk/receipt --- a/icedtea6-jdk/receipt Thu Oct 21 02:51:11 2010 +0000 +++ b/icedtea6-jdk/receipt Thu Oct 21 03:18:33 2010 +0000 @@ -43,6 +43,9 @@ local ECJ_VERSION ECJ_VERSION="3.6" + export ALT_PARALLEL_COMPILE_JOBS="4" + export HOTSPOT_BUILD_JOBS="${ALT_PARALLEL_COMPILE_JOBS}" + cd $src mkdir drops sed -i -e 's/mkdir -p drops/true/' -e 's/ jar xf/ fastjar xf/' Makefile* @@ -82,6 +85,7 @@ autoreconf && ./configure \ --prefix=/usr \ + --with-parallel-jobs=${HOTSPOT_BUILD_JOBS} \ --disable-plugin \ --disable-docs \ --with-ecj \ @@ -94,7 +98,7 @@ --with-rhino=/usr/share/java/js.jar \ --with-abs-install-dir=$JVM_PREFIX \ $CONFIGURE_ARGS && - make -j 1 ARCH_PREFIX= || exit 1 + make ARCH_PREFIX= || exit 1 # NOTE: IcedTea6 does not define an "install" target