Commit ac811e2e authored by Bernd Paysan's avatar Bernd Paysan

add nproc for Darwin

parent fc93e17c
Pipeline #1179 passed with stage
in 10 minutes and 11 seconds
......@@ -22,6 +22,11 @@
# if we don't have nproc, it's better to assume just one core
case `uname` in
Darwin)
alias nproc='sysctl -n hw.ncpu'
;;
esac
nprocs=`nproc || echo 1`
# created: 2may00jaw
......
......@@ -38,7 +38,7 @@ install_osx() {
brew tap forthy42/homebrew-zsh
brew update > /dev/null
brew upgrade > /dev/null
brew install yodl gforth gcc harfbuzz texinfo xz mesa
brew install yodl gforth gcc harfbuzz texinfo xz mesa premake automake
export PATH="/usr/local/opt/texinfo/bin:$PATH"
brew cask install xquartz mactex
export PATH="/Library/TeX/texbin:$PATH"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment