On Dienstag, 23. Juli 2019 10:30:07 CEST Martin Liška wrote: > Hi. > > As we as openSUSE started using -flto, I see it very handy to have > an option value that will automatically detect number of cores > that can be used for parallel LTRANS phase. > > Thoughts? > That's really nice.
How much extra work would it be to make it support a posix make jobserver? As far as I understand, you would need to guess a partition size first (as your patch here does), but then only start each job when given a token from the jobserver FD. With that the integration to existing build infrastructure would be optimal. Cheers 'Allan