C2 General

> -----Ursprüngliche Nachricht-----
> Von: Joe Orton <[email protected]>
> Gesendet: Donnerstag, 9. Januar 2020 09:15
> An: [email protected]
> Betreff: Re: arm64 support for Travis CI testing
> 
> On Wed, Jan 08, 2020 at 02:50:17PM -0800, Mike Rumph wrote:
> > Okay the first Travis run with arm64 (#201) passed.
> > The arm64 job (#201.4) took 33 minutes, 5 seconds.
> > Compared tp ppc64le at 4 minutes, 30 seconds.
> > This is possibly due to need for extra caching on the first run.
> > Otherwise, the jobs seem to have the same results.
> 
> Nice, thanks Mike!  From the timings in the log a large chunk of the
> time (21m) is building and installing the Perl modules, so if the
> caching works it should indeed be much faster second time round.
> 
> I wonder if the non-x86 builds have more CPUs available, we have
> hardcoded "make -j2" at the moment but possibly it makes sense to adjust
> this.

Would

lscpu -p | grep -c -E ^[0-9]

work on Ubuntu to deliver the number of cores?

So

make -j `lscpu -p | grep -c -E ^[0-9]`

Regards

Rüdiger

Reply via email to