3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-15 02:16:17 +00:00

Added dependencies to README and travis configuration

This commit is contained in:
Benedikt Tutzer 2019-04-03 11:18:34 +02:00
parent adfd8d463d
commit d287596be3
2 changed files with 20 additions and 4 deletions

View file

@ -32,6 +32,9 @@ matrix:
- xdot - xdot
- pkg-config - pkg-config
- python - python
- python3
- libboost-system-dev
- libboost-python-dev
env: env:
- MATRIX_EVAL="CONFIG=gcc && CC=gcc-4.8 && CXX=g++-4.8" - MATRIX_EVAL="CONFIG=gcc && CC=gcc-4.8 && CXX=g++-4.8"
@ -56,6 +59,9 @@ matrix:
- xdot - xdot
- pkg-config - pkg-config
- python - python
- python3
- libboost-system-dev
- libboost-python-dev
env: env:
- MATRIX_EVAL="CONFIG=gcc && CC=gcc-6 && CXX=g++-6" - MATRIX_EVAL="CONFIG=gcc && CC=gcc-6 && CXX=g++-6"
@ -80,6 +86,9 @@ matrix:
- xdot - xdot
- pkg-config - pkg-config
- python - python
- python3
- libboost-system-dev
- libboost-python-dev
env: env:
- MATRIX_EVAL="CONFIG=gcc && CC=gcc-7 && CXX=g++-7" - MATRIX_EVAL="CONFIG=gcc && CC=gcc-7 && CXX=g++-7"
@ -105,6 +114,9 @@ matrix:
- xdot - xdot
- pkg-config - pkg-config
- python - python
- python3
- libboost-system-dev
- libboost-python-dev
env: env:
- MATRIX_EVAL="CONFIG=clang && CC=clang-3.8 && CXX=clang++-3.8" - MATRIX_EVAL="CONFIG=clang && CC=clang-3.8 && CXX=clang++-3.8"
@ -129,6 +141,9 @@ matrix:
- xdot - xdot
- pkg-config - pkg-config
- python - python
- python3
- libboost-system-dev
- libboost-python-dev
env: env:
- MATRIX_EVAL="CONFIG=clang && CC=clang-5.0 && CXX=clang++-5.0" - MATRIX_EVAL="CONFIG=clang && CC=clang-5.0 && CXX=clang++-5.0"

View file

@ -66,25 +66,26 @@ prerequisites for building yosys:
$ sudo apt-get install build-essential clang bison flex \ $ sudo apt-get install build-essential clang bison flex \
libreadline-dev gawk tcl-dev libffi-dev git \ libreadline-dev gawk tcl-dev libffi-dev git \
graphviz xdot pkg-config python3 graphviz xdot pkg-config python3 libboost-system-dev \
libboost-python-dev
Similarily, on Mac OS X MacPorts or Homebrew can be used to install dependencies: Similarily, on Mac OS X MacPorts or Homebrew can be used to install dependencies:
$ brew tap Homebrew/bundle && brew bundle $ brew tap Homebrew/bundle && brew bundle
$ sudo port install bison flex readline gawk libffi \ $ sudo port install bison flex readline gawk libffi \
git graphviz pkgconfig python36 git graphviz pkgconfig python36 boost
On FreeBSD use the following command to install all prerequisites: On FreeBSD use the following command to install all prerequisites:
# pkg install bison flex readline gawk libffi\ # pkg install bison flex readline gawk libffi\
git graphviz pkgconfig python3 python36 tcl-wrapper git graphviz pkgconfig python3 python36 tcl-wrapper boost-libs
On FreeBSD system use gmake instead of make. To run tests use: On FreeBSD system use gmake instead of make. To run tests use:
% MAKE=gmake CC=cc gmake test % MAKE=gmake CC=cc gmake test
For Cygwin use the following command to install all prerequisites, or select these additional packages: For Cygwin use the following command to install all prerequisites, or select these additional packages:
setup-x86_64.exe -q --packages=bison,flex,gcc-core,gcc-g++,git,libffi-devel,libreadline-devel,make,pkg-config,python3,tcl-devel setup-x86_64.exe -q --packages=bison,flex,gcc-core,gcc-g++,git,libffi-devel,libreadline-devel,make,pkg-config,python3,tcl-devel,boost-build
There are also pre-compiled Yosys binary packages for Ubuntu and Win32 as well There are also pre-compiled Yosys binary packages for Ubuntu and Win32 as well
as a source distribution for Visual Studio. Visit the Yosys download page for as a source distribution for Visual Studio. Visit the Yosys download page for