From owner-freebsd-java@FreeBSD.ORG Mon Oct 17 04:10:19 2005 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F93A16A41F for ; Mon, 17 Oct 2005 04:10:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC09243D49 for ; Mon, 17 Oct 2005 04:10:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9H4AIdY064074 for ; Mon, 17 Oct 2005 04:10:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9H4AIEc064073; Mon, 17 Oct 2005 04:10:18 GMT (envelope-from gnats) Resent-Date: Mon, 17 Oct 2005 04:10:18 GMT Resent-Message-Id: <200510170410.j9H4AIEc064073@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, leafy Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12DA216A41F for ; 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 ; 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 ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: java/87552: Enable multi-job builds for CPP files in JDK15 build X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: leafy List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2005 04:10:19 -0000 >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: