https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96794

--- Comment #10 from Jan Hubicka <hubicka at ucw dot cz> ---
> We could also punt: when enable-link-mutex we could artificially up the job
> number for make to account for the waiting link steps.  I.e. when normally -jN
> was given, the link step could be done under -j(N + nr-language - 1).  That
> would lead to the
> nr-of-languages-1 job server tokens taken up by the sleeping link steps to be
> accounted for, and hence the (single running) link step still be able to use N
> threads/processes in parallel.

I do not think it is easy to do with current make jobserver.  The
toplevel jobserver opens the pipi with -jN many tokens and all other
makes connect to it.  It does not provide interface to return a token
and re-take it unless we implement it of course.

Honza
> 
> -- 
> You are receiving this mail because:
> You are on the CC list for the bug.

Reply via email to