On Thu 02 Feb 2017, Emil Velikov wrote:
> On 2 February 2017 at 01:27, Eric Anholt <e...@anholt.net> wrote:
> > Emil Velikov <emil.l.veli...@gmail.com> writes:
> >
> >> From: Emil Velikov <emil.veli...@collabora.com>
> >>
> >> The instance offers 2 cores, so use them to speed things up.
> >>
> >> Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
> >
> > They don't just set MAKEFLAGS in the environment?  That's weird.
> >
> From what I've read they don't, plus they do not provide a accurate
> way to get the information.
> 
> > Looks like an alternative would be to set - MAKEFLAGS=-j2 in the "env:"
> > section, but this also works.  Series is:
> >
> MAKEFLAGS would be better indeed. If it works I'll just go ahead with it.

FWIW, I query the number of CPUs when setting MAKEFLAGS in my ~/.profile.
It's worked for me across many Linux distros.

    export MAKEFLAGS="-j$(getconf _NPROCESSORS_ONLN)"
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to