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

* Re: parallel compilation fails
  2003-03-10 19:14 parallel compilation fails Wayne Davison
@ 2003-03-11 10:21 ` Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 2003-03-11 10:21 UTC (permalink / raw)
  To: zsh-workers

Wayne Davison wrote:
> 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?

I'm sure it's fixable, but it's unlikely it's going to be high on
anybody's priority list.  Fixing dependencies is non-trivial at the best
of times.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
prohibited.  
If you received this in error, please contact the sender and 
delete the material from any computer.
**********************************************************************


^ 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).