* parallel make, do we have a FAQ ?
@ 2003-02-27 21:18 Andreas Tobler
2003-02-27 21:32 ` Michael Matz
2003-02-27 21:45 ` DJ Delorie
0 siblings, 2 replies; 5+ messages in thread
From: Andreas Tobler @ 2003-02-27 21:18 UTC (permalink / raw)
To: GCC
Hi,
I got an Enterprise 2 and I was very exciting on the 2 CPU's handling a
bootstrap.
Hm, make: Warning: Ignoring DistributedMake -j option. 50% idle.
Do we have a FAQ where parallel make is explained? When does it work?
Only when building libraries?
Sorry, if this is a FAQ, but on the building section it only mentions:
make -j 2 bootstrap.
Thanks for any pointer,
Andreas
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: parallel make, do we have a FAQ ?
2003-02-27 21:18 parallel make, do we have a FAQ ? Andreas Tobler
@ 2003-02-27 21:32 ` Michael Matz
2003-02-28 5:21 ` Kurt Wall
2003-02-27 21:45 ` DJ Delorie
1 sibling, 1 reply; 5+ messages in thread
From: Michael Matz @ 2003-02-27 21:32 UTC (permalink / raw)
To: Andreas Tobler; +Cc: GCC
Hi,
On Thu, 27 Feb 2003, Andreas Tobler wrote:
> Hm, make: Warning: Ignoring DistributedMake -j option. 50% idle.
Well, you seem to use a vendor make, not GNU make, ergo you should consult
the documentation of that one.
> Do we have a FAQ where parallel make is explained? When does it work?
> Only when building libraries?
It works everywhere. For instance with GNU make I regularly do -j 10
makes (on the right machines of course ;-) ) and bootstraps. Meanwhile
also libjava is built in parallel.
> Sorry, if this is a FAQ, but on the building section it only mentions:
> make -j 2 bootstrap.
Yes, there doesn't need to be a FAQ. With the right make it simply works
(modulo the occassional bugs). I would advice you to simply get GNU make,
and be done with it.
Ciao,
Michael.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: parallel make, do we have a FAQ ?
2003-02-27 21:18 parallel make, do we have a FAQ ? Andreas Tobler
2003-02-27 21:32 ` Michael Matz
@ 2003-02-27 21:45 ` DJ Delorie
2003-02-27 22:27 ` Andreas Tobler
1 sibling, 1 reply; 5+ messages in thread
From: DJ Delorie @ 2003-02-27 21:45 UTC (permalink / raw)
To: toa; +Cc: gcc
> Do we have a FAQ where parallel make is explained? When does it work?
> Only when building libraries?
I regularly do "make -j2" from the top. I don't see why a FAQ is
needed; it just works (at least with GNU make). Are you using GNU
make?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: parallel make, do we have a FAQ ?
2003-02-27 21:45 ` DJ Delorie
@ 2003-02-27 22:27 ` Andreas Tobler
0 siblings, 0 replies; 5+ messages in thread
From: Andreas Tobler @ 2003-02-27 22:27 UTC (permalink / raw)
To: DJ Delorie; +Cc: gcc
DJ Delorie wrote:
>>Do we have a FAQ where parallel make is explained? When does it work?
>>Only when building libraries?
>
>
> I regularly do "make -j2" from the top. I don't see why a FAQ is
> needed; it just works (at least with GNU make). Are you using GNU
> make?
>
[enterprise:~/objdir] andreas% which make
make: aliased to /usr/local/bin/make
[enterprise:~/] andreas% make -v
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Ah, I see, I have another make from /usr/ccs/bin. Renamed it and now I
rocks!!
CPU states: 0.9% idle, 96.4% user, 2.1% kernel, 0.6% iowait, 0.0% swap
Thanks
Andreas
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: parallel make, do we have a FAQ ?
2003-02-27 21:32 ` Michael Matz
@ 2003-02-28 5:21 ` Kurt Wall
0 siblings, 0 replies; 5+ messages in thread
From: Kurt Wall @ 2003-02-28 5:21 UTC (permalink / raw)
To: GCC List
Feigning erudition, Michael Matz wrote:
[...]
% > Do we have a FAQ where parallel make is explained? When does it work?
% > Only when building libraries?
%
% It works everywhere. For instance with GNU make I regularly do -j 10
% makes (on the right machines of course ;-) ) and bootstraps. Meanwhile
% also libjava is built in parallel.
<envy color="deep_dark_green">
I'll take one of these machines, please. :-)
</envy>
Kurt
--
Don't take life too seriously -- you'll never get out of it alive.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-02-28 1:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-27 21:18 parallel make, do we have a FAQ ? Andreas Tobler
2003-02-27 21:32 ` Michael Matz
2003-02-28 5:21 ` Kurt Wall
2003-02-27 21:45 ` DJ Delorie
2003-02-27 22:27 ` Andreas Tobler
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).