diff options
author | John Wiegley <johnw@newartisans.com> | 2012-07-30 23:22:42 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-07-30 23:24:04 -0500 |
commit | 14ab4f7775fe203e6e5cd2b9cb4d364c465c4e4e (patch) | |
tree | 50c8ebbffd4682e055ddd215421bd36c2db8c789 /tools/build.sh | |
parent | 39ce225004e88d397ca3fd3ce2051d54eedaecc0 (diff) | |
download | fork-ledger-14ab4f7775fe203e6e5cd2b9cb4d364c465c4e4e.tar.gz fork-ledger-14ab4f7775fe203e6e5cd2b9cb4d364c465c4e4e.tar.bz2 fork-ledger-14ab4f7775fe203e6e5cd2b9cb4d364c465c4e4e.zip |
Updated to Boost 1.50
Diffstat (limited to 'tools/build.sh')
-rwxr-xr-x | tools/build.sh | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/tools/build.sh b/tools/build.sh index 185fe791..a37b06f4 100755 --- a/tools/build.sh +++ b/tools/build.sh @@ -3,10 +3,13 @@ flavor=$1 shift 1 -time ( \ - cd ~/src/ledger ; \ - PATH=/usr/local/bin:/opt/local/bin:$PATH \ - nice -n 20 ./acprep $flavor --debug --python --doxygen make "$@" && \ - PATH=/usr/local/bin:/opt/local/bin:$PATH \ - nice -n 20 ./acprep $flavor --debug --python --doxygen check "$@" \ -)
\ No newline at end of file +JOBS=-j$(sysctl -n hw.activecpu) +OPTIONS="$flavor --debug --python --doxygen $JOBS" + +time ( \ + cd ~/src/ledger ; \ + PATH=/usr/local/bin:/opt/local/bin:$PATH \ + nice -n 20 ./acprep $OPTIONS make "$@" && \ + PATH=/usr/local/bin:/opt/local/bin:$PATH \ + nice -n 20 ./acprep $OPTIONS check "$@" \ +) |