mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #421 from stephengroat/osx-travis
Add osx tests using brew bundle
This commit is contained in:
commit
29f8acf095
|
@ -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
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
brew "bison"
|
||||
brew "flex"
|
||||
brew "gawk"
|
||||
brew "libffi"
|
||||
brew "git"
|
||||
brew "mercurial"
|
||||
brew "graphviz"
|
||||
brew "pkg-config"
|
||||
brew "python3"
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue