赞
踩
In short, you can use below cmd to adjust the number of compile threads and memory usage.
apollo/scripts/apollo_build.sh
Line 250 in 9e1edfc
local job_args="--jobs=$(nproc) --local_ram_resources=HOST_RAM*0.7"
For example, 4 thread and 60% memory usage limit
local job_args="--jobs=4 --local_ram_resources=HOST_RAM*0.6"
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。