linux-on-ibm-z / scripts

16 stars 49 forks source link

Istio Proxy Makefile patch specifies too many jobs #11

Open mundaym opened 4 years ago

mundaym commented 4 years ago

This patch sets the number of bazel jobs to 10: https://github.com/linux-on-ibm-z/scripts/blob/master/IstioProxy/1.3.6/patch/Makefile_release.diff

This is too high for my system (SLES 15 SP1 with 16G RAM and 8G swap) and causes the build to fail with an out of memory error. It is a pain to workaround because it is being pulled in by a script that is pulled in by another script...

Can we remove the jobs specifier? I think it is there to avoid an OOM error ironically, but it would be better to let the user modify it down using a .bazelrc override I think.

@aborkar-ibm