From leafy@leafy.idv.tw  Mon Oct 17 04:08:25 2005
Return-Path: <leafy@leafy.idv.tw>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 12DA216A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 Oct 2005 04:08:25 +0000 (GMT)
	(envelope-from leafy@leafy.idv.tw)
Received: from seed.net.tw (sn12.seed.net.tw [139.175.54.12])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9F2F643D49
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 Oct 2005 04:08:24 +0000 (GMT)
	(envelope-from leafy@leafy.idv.tw)
Received: from [61.59.10.173] (port=54345 helo=chihiro.leafy.idv.tw)
	by seed.net.tw with esmtp (Seednet 4.23:1)
	id 1ERMIQ-000BsY-Um
	for FreeBSD-gnats-submit@freebsd.org; Mon, 17 Oct 2005 12:08:22 +0800
Received: from localhost (localhost [127.0.0.1])
	by chihiro.leafy.idv.tw (Postfix) with ESMTP id 5A48B6A
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 Oct 2005 12:08:22 +0800 (CST)
Received: from chihiro.leafy.idv.tw ([127.0.0.1])
 by localhost (chihiro.leafy.idv.tw [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 93619-05 for <FreeBSD-gnats-submit@freebsd.org>;
 Mon, 17 Oct 2005 12:08:21 +0800 (CST)
Received: by chihiro.leafy.idv.tw (Postfix, from userid 1000)
	id 79E9166; Mon, 17 Oct 2005 12:08:21 +0800 (CST)
Message-Id: <20051017040821.79E9166@chihiro.leafy.idv.tw>
Date: Mon, 17 Oct 2005 12:08:21 +0800 (CST)
From: leafy <leafy@leafy.idv.tw>
Reply-To: leafy <leafy@leafy.idv.tw>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Enable multi-job builds for CPP files in JDK15 build
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         87552
>Category:       java
>Synopsis:       Enable multi-job builds for CPP files in JDK15 build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    glewis
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 17 04:10:18 GMT 2005
>Closed-Date:    Thu Feb 02 16:28:47 GMT 2006
>Last-Modified:  Thu Feb 02 16:28:47 GMT 2006
>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:
Responsible-Changed-From-To: freebsd-java->glewis 
Responsible-Changed-By: glewis 
Responsible-Changed-When: Tue Jan 31 16:30:50 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=87552 
State-Changed-From-To: open->closed 
State-Changed-By: glewis 
State-Changed-When: Thu Feb 2 16:28:45 UTC 2006 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=87552 
>Unformatted:
