libbpf / ci

BPF CI
Other
10 stars 23 forks source link

build: Add environment variable to pin the maximum number of processes to be used by make #71

Closed chantra closed 1 year ago

chantra commented 1 year ago

Currently, the make jobs are spawn 4*nproc jobs. When running a single runner in a VM, that is fine, but when we have a physical machine running 10+ runners, we end up having 4k processes building at the same time. This change will allow capping the number of jobs spawned by make to something reasonable for both the 1 runner per VM use case and the multiple runners per host use case.