This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Building java library is slow


> 
> Brad Lucier wrote:
> 
> >>>The java library seems to be made serially, even when "make -j 8' is
> >>>specified.  Is there an easy way to fix this?
> >>>
> >>BTW you did:
> >>
> >>make MAKE="make -j 8"
> >>
> >>right?
> >>
> >
> >No, I just do "make -j 8", which seems to have done the right
> >thing with the rest of the bootstrap build since about make 3.78.1
> >or so.
> >
> 
> Can you make sure the "-j" flag is getting passed down to the instance 
> of "make" which is run for the libjava directory? I always used to use 
> `MAKE="make -j 2"` or whatever, I didn't realise it worked the other way.

I'm sorry, I don't understand how to do this.

I know that, before, one needed to do something like

env MAKE="make -j 4" make -j 4 bootstrap

to get the submakes to be done in parallel, but that hasn't been
necessary for a while.

Brad


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