java/87552: Enable multi-job builds for CPP files in JDK15 build
leafy
leafy at leafy.idv.tw
Sun Oct 16 21:10:19 PDT 2005
>Number: 87552
>Category: java
>Synopsis: Enable multi-job builds for CPP files in JDK15 build
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-java
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 17 04:10:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: leafy
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
personal
>Environment:
System: FreeBSD chihiro.leafy.idv.tw 7.0-CURRENT FreeBSD 7.0-CURRENT #6: Thu Oct 6 02:23:13 CST 2005 leafy at chihiro.leafy.idv.tw:/usr/obj/usr/src/sys/CHIHIRO i386
>Description:
From http://www.linuxfromscratch.org/blfs/view/stable/general/jdk.html
Adding HOTSPOT_BUILD_JOBS=n to the port enables parallel multi-job building of the CPP part in jdk15. This decreases compilation time for hotspot VMs on a multi-cpu machine, even if it's a hyperthreaded one.
>How-To-Repeat:
>Fix:
diff -Nru jdk15.orig/Makefile jdk15/Makefile
--- jdk15.orig/Makefile Mon Oct 17 12:01:03 2005
+++ jdk15/Makefile Mon Oct 17 12:01:30 2005
@@ -114,6 +114,9 @@
.if !defined(WITH_IPV6)
MAKE_ENV+= DONT_ENABLE_IPV6="YES"
.endif
+.if defined(HOTSPOT_BUILD_JOBS)
+MAKE_ENV+= HOTSPOT_BUILD_JOBS=${HOTSPOT_BUILD_JOBS}
+.endif
ALL_TARGET= all
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-java
mailing list