• Radoslav Kirilov's avatar
    fix(worker): cpu cores detection using sh and default to 4 · b1a053bb
    由 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
名称
最后提交
最后更新
.github 正在载入提交数据...
art 正在载入提交数据...
doc 正在载入提交数据...
lib 正在载入提交数据...
src 正在载入提交数据...
test 正在载入提交数据...
worker 正在载入提交数据...
.eslintrc.js 正在载入提交数据...
.gitattributes 正在载入提交数据...
.gitignore 正在载入提交数据...
.npmrc 正在载入提交数据...
.travis.yml 正在载入提交数据...
CHANGELOG.md 正在载入提交数据...
LICENSE 正在载入提交数据...
README.md 正在载入提交数据...
gulpfile.js 正在载入提交数据...
npm-scripts.js 正在载入提交数据...
package.json 正在载入提交数据...
tsconfig.json 正在载入提交数据...