diff --git a/.travis.yml b/.travis.yml index 9f0cc06e7..d8cd5b298 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,6 +24,7 @@ addons: - g++-4.8 before_install: - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap Homebrew/bundle && brew bundle; fi - git clone git://github.com/steveicarus/iverilog.git - (cd iverilog && autoconf && ./configure --prefix=$HOME/iverilog && make && make install) - export PATH=$PATH:$HOME/iverilog/bin @@ -32,3 +33,4 @@ compiler: - gcc os: - linux + - osx diff --git a/Brewfile b/Brewfile new file mode 100644 index 000000000..d7cd05bf1 --- /dev/null +++ b/Brewfile @@ -0,0 +1,9 @@ +brew "bison" +brew "flex" +brew "gawk" +brew "libffi" +brew "git" +brew "mercurial" +brew "graphviz" +brew "pkg-config" +brew "python3" diff --git a/README.md b/README.md index 7c4dbf0c5..514e32b35 100644 --- a/README.md +++ b/README.md @@ -57,8 +57,7 @@ prerequisites for building yosys: Similarily, on Mac OS X MacPorts or Homebrew can be used to install dependencies: - $ brew install bison flex gawk libffi \ - git mercurial graphviz pkg-config python3 + $ brew tap Homebrew/bundle && brew bundle $ sudo port install bison flex readline gawk libffi \ git mercurial graphviz pkgconfig python36