Merge pull request #14 from antmicro/cleanup
Simplify the toolchain installation
This commit is contained in:
commit
5cabbec379
43
.travis.yml
43
.travis.yml
|
@ -15,28 +15,29 @@ before_install:
|
||||||
- export LANG="en_US.UTF-8"
|
- export LANG="en_US.UTF-8"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
|
- export INSTALL_DIR=/opt/symbiflow
|
||||||
- bash miniconda.sh -b -p $HOME/miniconda
|
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
|
||||||
- source "$HOME/miniconda/etc/profile.d/conda.sh"
|
- bash Miniconda3-latest-Linux-x86_64.sh -b -p $INSTALL_DIR/conda && rm Miniconda3-latest-Linux-x86_64.sh
|
||||||
- hash -r
|
- source $INSTALL_DIR/conda/etc/profile.d/conda.sh
|
||||||
- conda config --set always_yes yes --set changeps1 no
|
- conda update -y -q conda
|
||||||
- conda config --add channels conda-forge
|
- wget -qO- https://storage.googleapis.com/symbiflow-arch-defs/artifacts/prod/foss-fpga-tools/symbiflow-arch-defs/continuous/install/4/20200416-002215/symbiflow-arch-defs-install-a321d9d9.tar.xz | tar -xJ -C $INSTALL_DIR
|
||||||
- conda config --add channels symbiflow
|
- conda install -y -c symbiflow yosys yosys-plugins vtr-no-gui
|
||||||
- conda update -q conda
|
- conda install -y make lxml simplejson intervaltree git pip
|
||||||
- conda activate
|
- conda activate
|
||||||
- conda install -c symbiflow yosys
|
- pip install python-constraint
|
||||||
- conda install -c symbiflow yosys-plugins
|
|
||||||
- conda install -c symbiflow vtr=8.0.0.rc2_3575_g253f75b6d
|
|
||||||
- conda install lxml simplejson intervaltree python-constraint git pip
|
|
||||||
- pip install git+https://github.com/symbiflow/fasm
|
- pip install git+https://github.com/symbiflow/fasm
|
||||||
- wget "https://storage.googleapis.com/symbiflow-arch-defs/artifacts/prod/foss-fpga-tools/symbiflow-arch-defs/continuous/install/4/20200416-002215/symbiflow-arch-defs-install-a321d9d9.tar.xz"
|
- conda deactivate
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- tar -xf symbiflow-arch-defs-install-a321d9d9.tar.xz
|
- export INSTALL_DIR=/opt/symbiflow
|
||||||
- export PATH=$TRAVIS_BUILD_DIR/install/bin:$PATH
|
- # adding symbiflow toolchain binaries to PATH
|
||||||
- cd $TRAVIS_BUILD_DIR/counter_test
|
- export PATH=$INSTALL_DIR/install/bin:$PATH
|
||||||
- make
|
- source $INSTALL_DIR/conda/etc/profile.d/conda.sh
|
||||||
- cd $TRAVIS_BUILD_DIR/picosoc_demo
|
- conda activate
|
||||||
- make
|
- git clone https://github.com/SymbiFlow/symbiflow-examples && cd symbiflow-examples
|
||||||
- cd $TRAVIS_BUILD_DIR/linux_litex_demo
|
- # counter example
|
||||||
- make
|
- pushd counter_test && make && popd
|
||||||
|
- # picosoc example
|
||||||
|
- pushd picosoc_demo && make && popd
|
||||||
|
- # litex example
|
||||||
|
- pushd linux_litex_demo && make && popd
|
||||||
|
|
12
README.md
12
README.md
|
@ -45,16 +45,12 @@ INSTALL_DIR=/opt/symbiflow
|
||||||
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
|
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
|
||||||
bash Miniconda3-latest-Linux-x86_64.sh -b -p $INSTALL_DIR/conda && rm Miniconda3-latest-Linux-x86_64.sh
|
bash Miniconda3-latest-Linux-x86_64.sh -b -p $INSTALL_DIR/conda && rm Miniconda3-latest-Linux-x86_64.sh
|
||||||
source $INSTALL_DIR/conda/etc/profile.d/conda.sh
|
source $INSTALL_DIR/conda/etc/profile.d/conda.sh
|
||||||
conda config --set always_yes yes --set changeps1 no
|
conda update -y -q conda
|
||||||
conda config --add channels conda-forge
|
|
||||||
conda config --add channels symbiflow
|
|
||||||
conda update -q conda
|
|
||||||
wget -qO- https://storage.googleapis.com/symbiflow-arch-defs/artifacts/prod/foss-fpga-tools/symbiflow-arch-defs/continuous/install/4/20200416-002215/symbiflow-arch-defs-install-a321d9d9.tar.xz | tar -xJ -C $INSTALL_DIR
|
wget -qO- https://storage.googleapis.com/symbiflow-arch-defs/artifacts/prod/foss-fpga-tools/symbiflow-arch-defs/continuous/install/4/20200416-002215/symbiflow-arch-defs-install-a321d9d9.tar.xz | tar -xJ -C $INSTALL_DIR
|
||||||
conda install -c symbiflow yosys
|
conda install -y -c symbiflow yosys yosys-plugins vtr-no-gui
|
||||||
conda install -c symbiflow yosys-plugins
|
conda install -y make lxml simplejson intervaltree git pip
|
||||||
conda install -c symbiflow vtr=8.0.0.rc2_3575_g253f75b6d
|
|
||||||
conda install python-constraint make lxml simplejson intervaltree git pip
|
|
||||||
conda activate
|
conda activate
|
||||||
|
pip install python-constraint
|
||||||
pip install git+https://github.com/symbiflow/fasm
|
pip install git+https://github.com/symbiflow/fasm
|
||||||
conda deactivate
|
conda deactivate
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue