diff options
author | Dan Goodliffe <dan.goodliffe@octal.co.uk> | 2021-08-27 11:33:05 +0100 |
---|---|---|
committer | Dan Goodliffe <dan.goodliffe@octal.co.uk> | 2021-08-27 11:33:05 +0100 |
commit | b92b72236f074cf3bebbc57dd62bd47ce1c72022 (patch) | |
tree | 8c75e76d898aff41966a1e19b803084afcdeef71 /bashrc | |
parent | Functions to run b2 build tests through various tools (diff) | |
download | util-b92b72236f074cf3bebbc57dd62bd47ce1c72022.tar.bz2 util-b92b72236f074cf3bebbc57dd62bd47ce1c72022.tar.xz util-b92b72236f074cf3bebbc57dd62bd47ce1c72022.zip |
Add missing CORES variable
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -90,6 +90,7 @@ bloatysizes() { bloaty -s vm --domain=vm -d symbols -C full -n 0 $TARGET | tee /var/tmp/bloaty } +CORES=$(grep core\ id /proc/cpuinfo | wc -l) CPUS=$(grep core\ id /proc/cpuinfo -c) if [ -n "$DISTCC_HOSTS" ] ; then TASKS=$(echo $DISTCC_HOSTS | tr ' ' '\n' | cut -d / -f2 | paste -s -d+ | bc) |