FemtoRV/TOOLS/get_symbiflow.sh: fix env create

This commit is contained in:
Gwenhael Goavec-Merou
2021-09-07 07:23:30 +02:00
parent 48a09e8ffe
commit 04ad4df21a
2 changed files with 6 additions and 1 deletions

2
.gitignore vendored
View File

@@ -23,3 +23,5 @@ FemtoRV/FIRMWARE/TOOLS/firmware_words
FemtoRV/RTL/CONFIGS/my_config.v
FemtoRV/femtosoc.txt
FemtoRV/FIRMWARE/config.mk
FemtoRV/TOOLS/environment.yml
FemtoRV/TOOLS/requirements.txt

View File

@@ -5,12 +5,15 @@
INSTALL_DIR=$HOME/opt/symbiflow
FPGA_FAM=xc7
ARCH_DEFS_WEB=https://storage.googleapis.com/symbiflow-arch-defs/artifacts/prod/foss-fpga-tools/symbiflow-arch-defs/continuous/install/367/20210822-000315
SYMBIFLOW_EXAMPLES=https://raw.githubusercontent.com/SymbiFlow/symbiflow-examples/master/xc7
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O conda_installer.sh
wget $SYMBIFLOW_EXAMPLES/environment.yml -O environment.yml
wget $SYMBIFLOW_EXAMPLES/requirements.txt -O requirements.txt
bash conda_installer.sh -u -b -p $INSTALL_DIR/$FPGA_FAM/conda;
. "$INSTALL_DIR/$FPGA_FAM/conda/etc/profile.d/conda.sh";
$INSTALL_DIR/$FPGA_FAM/conda/bin/conda env create -f $FPGA_FAM/environment.yml
$INSTALL_DIR/$FPGA_FAM/conda/bin/conda env create -f environment.yml
mkdir -p $INSTALL_DIR/xc7/install
echo Getting arch defs