-
由 Radoslav Kirilov 提交于
In case bash is missing from the system the `cpu_cores.sh` fails with an error and returns empty string resulting in command like `make -j BUILDTYPE=Release -C out` that uses unlimited jobs and could lead to signifficant CPU and RAM usage during build The cpu_cores.sh is now changed to using `sh` instead of `bash`, so it should be more portable. Additionally if the cpu detection fails the jobs default to 4, that should be safe enough.
b1a053bb