ALT_PARALLEL_COMPILE_JOBS not honoured by the hotspot subproject
volker.simonis at gmail.com
Thu Jan 10 12:29:13 UTC 2008
ALT_PARALLEL_COMPILE_JOBS is currently only honoured by the corba and
the jdk subprojects while the hotspot subproject uses
HOTSPOT_BUILD_JOBS as indicator to do a parallel build.
Unfortunately, neither ALT_PARALLEL_COMPILE_JOBS nor
HOTSPOT_BUILD_JOBS is handed over from the top-level makefile to the
hotspot makefile. This can be however fixed easily by adding the
following lines to make/hotspot-rules.gmk, just before the
ifneq ($(PARALLEL_COMPILE_JOBS), 1)
HOTSPOT_BUILD_ARGUMENTS += HOTSPOT_BUILD_JOBS=$(PARALLEL_COMPILE_JOBS)
After this change, setting ALT_PARALLEL_COMPILE_JOBS on the make
command line of the top-level makefile, will be enough to trigger a
parallel hotspot build.
More information about the build-dev