Subject: Re: make -j and failure modes
To: Greywolf <firstname.lastname@example.org>
From: David Laight <email@example.com>
Date: 12/10/2003 22:09:01
> DL> If a command is recognised as 'cd xxx; yyy' make could fork, cd and exec.
> DL> Other optimisations (eg builtin echo) might also be benefitial.
> What if you have strings of those, i.e.
> cd xxx; yyy; cd xxn; yyz; cd foo; bar; ...
> You only gain one level of optimization,
Yes, but you catch the most common case which is actually:
cd xxx; make foo
> unless you're thinking make
> should also be parsing command lines (which is starting to sound like a
Make -j might need a builtin posix compliant shell......
David Laight: firstname.lastname@example.org