[RFC PATCH] Speed up bootstrap on SMP
DJ Delorie
dj@redhat.com
Wed Jan 3 20:05:00 GMT 2007
Ian Lance Taylor <iant@google.com> writes:
> Jakub Jelinek <jakub@redhat.com> writes:
> > In my experience, compiling insn-attrtab.c takes longest time during
> > bootstrap and when bootstrap is done with make -jN for bigger N make
> > is always waiting till it completes while all other files are already
> > compiled.
>
> I think we should just move it to the front of the OBJS-common list.
Note that libiberty does exactly that for the objects that take the
longest to compile, for exactly the same reason:
# These are always included in the library. The first four are listed
# first and by compile time to optimize parallel builds.
REQUIRED_OFILES = ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o \
./alloca.o ./argv.o \
./choose-temp.o ./concat.o ./cp-demint.o \
More information about the Gcc-patches
mailing list