Verified Commit ac811e2e authored by Bernd Paysan's avatar Bernd Paysan
Browse files

add nproc for Darwin

parent fc93e17c
Loading
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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"