wok rev 6893
Added parallel compile for icedtea6-jdk. openjdk has a special way of doing it.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 21 03:18:33 2010 +0000 (2010-10-21) |
parents | 685f070bd605 |
children | 501d89e34aae |
files | icedtea6-jdk/receipt |
line diff
1.1 --- a/icedtea6-jdk/receipt Thu Oct 21 02:51:11 2010 +0000 1.2 +++ b/icedtea6-jdk/receipt Thu Oct 21 03:18:33 2010 +0000 1.3 @@ -43,6 +43,9 @@ 1.4 local ECJ_VERSION 1.5 ECJ_VERSION="3.6" 1.6 1.7 + export ALT_PARALLEL_COMPILE_JOBS="4" 1.8 + export HOTSPOT_BUILD_JOBS="${ALT_PARALLEL_COMPILE_JOBS}" 1.9 + 1.10 cd $src 1.11 mkdir drops 1.12 sed -i -e 's/mkdir -p drops/true/' -e 's/ jar xf/ fastjar xf/' Makefile* 1.13 @@ -82,6 +85,7 @@ 1.14 autoreconf && 1.15 ./configure \ 1.16 --prefix=/usr \ 1.17 + --with-parallel-jobs=${HOTSPOT_BUILD_JOBS} \ 1.18 --disable-plugin \ 1.19 --disable-docs \ 1.20 --with-ecj \ 1.21 @@ -94,7 +98,7 @@ 1.22 --with-rhino=/usr/share/java/js.jar \ 1.23 --with-abs-install-dir=$JVM_PREFIX \ 1.24 $CONFIGURE_ARGS && 1.25 - make -j 1 ARCH_PREFIX= || exit 1 1.26 + make ARCH_PREFIX= || exit 1 1.27 1.28 # NOTE: IcedTea6 does not define an "install" target 1.29