Created by: q4a
The nproc
on travis arm64 report full amount of cores (32) of underlying host, however the actual amount available for build running within LXD container is min 2vCPU + possibly some additional cpu time.
source: https://travis-ci.community/t/nproc-reports-32-cores-on-arm64/5851
Using -j32
leads to high load and killing processes g++-8: fatal error: Killed signal terminated program cc1plus
So, here is simple fix.