From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14677 invoked by alias); 4 Dec 2007 15:00:28 -0000 Received: (qmail 14667 invoked by uid 22791); 4 Dec 2007 15:00:27 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DK_POLICY_SIGNSOME,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 04 Dec 2007 15:00:19 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.1) with ESMTP id lB4F0HWD023999; Tue, 4 Dec 2007 10:00:17 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lB4F0Hwh022219; Tue, 4 Dec 2007 10:00:17 -0500 Received: from [127.0.0.1] (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lB4F0F80021470; Tue, 4 Dec 2007 10:00:16 -0500 Message-ID: <47556B8D.80909@redhat.com> Date: Tue, 04 Dec 2007 15:00:00 -0000 From: Andrew Cagney User-Agent: Thunderbird 1.5.0.12 (X11/20070530) MIME-Version: 1.0 To: Mark Wielaard CC: frysk Subject: Re: Add .jar-s instead of source directories to compile path.] References: <47549404.7080305@redhat.com> <1196759124.3060.10.camel@dijkstra.wildebeest.org> In-Reply-To: <1196759124.3060.10.camel@dijkstra.wildebeest.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2007-q4/txt/msg00205.txt.bz2 Mark Wielaard wrote: > Hi Andrew, > > On Mon, 2007-12-03 at 18:40 -0500, Andrew Cagney wrote: > >> This tweaks the way the compiler is run so that it is forced to look in >> .jars for pre-compiled .class files (and not accidently re-compile a >> .java file). (tks to tromey for figuring out the problem). >> >> With this in place, I'm able to built frysk on f8 with the >> --enable-jar-compile option. That option enables the "faster" sequence >> .java->.class->.jar->.o vs the slower .java->.o path. Going forward >> this option is likely to be made the default. >> > > Seems nice. time (../frysk/autogen.sh --enable-jar-compile && make -j4) > (x86_64, fedora 8, dual core 3.2Ghz) now takes: > > real 7m57.600s > user 8m16.352s > sys 2m8.085s > > That is almost half the time it takes without --enable-jar-compile. > I forgot to mention, since it always does a full re-compile, the results are more robust on >=f7 (where gcj's dependency mechanism is broken). Andrew > >