tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: make: dealing with targets with multiple outputs
David Holland <dholland-tech%netbsd.org@localhost> wrote:
> We already have a solution for this problem, it's just waiting for
> someone to find time to implement it.
>
> Namely: given multiple targets on the left, don't schedule them in
> parallel, and after building the first one check to see how many of
> the others also got knocked off at the same time.
Actually, unless there's more detail to your proposal, that would
totally kill parallelism no?
Since yacc etc normally handled via .SUFFIX rules
that would imply any rule like
${OBJS}: soemthing
would need to be impacted - that would seriously hurt something like
libc
Adding a special source token, would go a long way to mitigate that.
Thanks
--sjg
Home |
Main Index |
Thread Index |
Old Index