diff options
Diffstat (limited to 'etc/bootstrap/bbot-bootstrap-macos.sh')
-rwxr-xr-x | etc/bootstrap/bbot-bootstrap-macos.sh | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/etc/bootstrap/bbot-bootstrap-macos.sh b/etc/bootstrap/bbot-bootstrap-macos.sh index 92aedaa..0163c49 100755 --- a/etc/bootstrap/bbot-bootstrap-macos.sh +++ b/etc/bootstrap/bbot-bootstrap-macos.sh @@ -6,6 +6,8 @@ # open -a Terminal -n -F ~/bbot-bootstrap-macos.sh +cxx=clang++ + if ! jobs="$(sysctl -n hw.ncpu)"; then jobs=1 fi @@ -14,15 +16,15 @@ fi # ulimit -c unlimited -# Note: bootstrap script options must come before build options. +# Note: bootstrap script options must come before build.sh options/arguments. # -"$(dirname "$0")/bbot-bootstrap.sh" \ - --cxx clang++ \ - --build /tmp \ - --environments "$HOME/environments" \ - "$@" \ - --make make \ - --make "-j$jobs" +"$(dirname "$0")/bbot-bootstrap.sh" \ +--build /tmp \ +--environments "$HOME/environments" \ +--make make \ +--jobs "$jobs" \ +"$cxx" \ +"$@" # If success, wait a bit and shutdown. Otherwise leave the machine running # for investigation. |