Date: Mon, 17 Oct 2005 12:08:21 +0800 (CST) From: leafy <leafy@leafy.idv.tw> To: FreeBSD-gnats-submit@FreeBSD.org Subject: java/87552: Enable multi-job builds for CPP files in JDK15 build Message-ID: <20051017040821.79E9166@chihiro.leafy.idv.tw> Resent-Message-ID: <200510170410.j9H4AIEc064073@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051017040821.79E9166>