This is the mail archive of the frysk@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add .jar-s instead of source directories to compile path.]


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]