Quantcast

java/87552: Enable multi-job builds for CPP files in JDK15 build

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

java/87552: Enable multi-job builds for CPP files in JDK15 build

leafy

>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 [hidden email]:/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:
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[hidden email]"
Loading...