zsh-workers
 help / color / mirror / code / Atom feed
* parallel compilation fails
@ 2003-03-10 19:14 Wayne Davison
  2003-03-11 10:21 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Wayne Davison @ 2003-03-10 19:14 UTC (permalink / raw)
  To: zsh-workers

Since I'm a big fan of distcc these days, it saddens me that my favorite
shell fails to compile using parallel compilation (and thus, cannot
benefit from distcc) -- i.e. "make -j3" fails in the module-build rules
when some temp-file names get used at the same time in parallel threads.

There was some email back in 1996 on this subject, such as this one from
Zefram:

    http://www.zsh.org/mla/workers//1996/msg01930.html

Is this something that we think we can fix?  It looks like some of the
features from this old patch are there, and some are not.  Trying to
wrap my head around the module-make setup is hurting my brain, and I'd
rather avoid it if someone else is already familiar with what's going on
and can fix it easily.  If it's not fixable, what's the work-around?  To
do multiple makes?  I've done this:

    make prep       # Without this, the "make -j3 bin" fails.
    cd Src
    make -j3 bin
    make modules
    cd ..
    make -j3

This appears to work, but I don't know if it's safe or not.

..wayne..


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-11 10:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-10 19:14 parallel compilation fails Wayne Davison
2003-03-11 10:21 ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).