public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@redhat.com>
To: Mark Wielaard <mark@klomp.org>
Cc: frysk <frysk@sources.redhat.com>
Subject: Re: Add .jar-s instead of source directories to compile path.]
Date: Tue, 04 Dec 2007 15:00:00 -0000	[thread overview]
Message-ID: <47556B8D.80909@redhat.com> (raw)
In-Reply-To: <1196759124.3060.10.camel@dijkstra.wildebeest.org>

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

>
>   

      reply	other threads:[~2007-12-04 15:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-03 23:40 Andrew Cagney
2007-12-04  9:05 ` Mark Wielaard
2007-12-04 15:00   ` Andrew Cagney [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47556B8D.80909@redhat.com \
    --to=cagney@redhat.com \
    --cc=frysk@sources.redhat.com \
    --cc=mark@klomp.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).