Commit fc93e17c authored by Bernd Paysan's avatar Bernd Paysan

Streamline MacOS build from git

parent 8ad45e9d
Pipeline #1178 passed with stage
in 9 minutes and 57 seconds
......@@ -7,6 +7,10 @@
./BUILD-FROM-SCRATCH
sudo make install
## Additional info for MacOS ##
You'll get brew installed if it is not already there.
## Alternative: Build from Tarball
If you are building from the tarball, please consult [INSTALL](INSTALL).
......
......@@ -34,6 +34,7 @@ install_linux() {
}
install_osx() {
which brew || /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew tap forthy42/homebrew-zsh
brew update > /dev/null
brew upgrade > /dev/null
......@@ -45,7 +46,16 @@ install_osx() {
# (cd /usr/local/Cellar/gcc/8.2.0/lib/gcc/8/gcc/x86_64-apple-darwin17.7.0/8.2.0/include-fixed && mv stdio.h stdio.h.botched)
}
install_${TRAVIS_OS_NAME:-linux}
case `uname` in
Linux)
OS=linux
;;
Darwin)
OS=osx
;;
esac
install_${TRAVIS_OS_NAME:-$OS}
./install-swig.sh
./install-freetype-gl.sh
#./install-soil2.sh
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