docs: do not use 'install' subdir; bump f4pga and arch-defs

Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
This commit is contained in:
Unai Martinez-Corral 2022-08-04 05:08:07 +02:00
parent 11986eaca5
commit 05a8036a00
4 changed files with 7 additions and 8 deletions

View File

@ -4,8 +4,8 @@
esac esac
for PKG in $F4PGA_PACKAGES; do for PKG in $F4PGA_PACKAGES; do
- wget -qO- https://storage.googleapis.com/symbiflow-arch-defs/artifacts/prod/foss-fpga-tools/symbiflow-arch-defs/continuous/install/${F4PGA_TIMESTAMP}/symbiflow-arch-defs-${PKG}-${F4PGA_HASH}.tar.xz | tar -xJC $F4PGA_INSTALL_DIR/${FPGA_FAM}/install - wget -qO- https://storage.googleapis.com/symbiflow-arch-defs/artifacts/prod/foss-fpga-tools/symbiflow-arch-defs/continuous/install/${F4PGA_TIMESTAMP}/symbiflow-arch-defs-${PKG}-${F4PGA_HASH}.tar.xz | tar -xJC $F4PGA_INSTALL_DIR/${FPGA_FAM}
+ wget -qO- $(wget -qO- https://github.com/SymbiFlow/f4pga-arch-defs/releases/download/latest/symbiflow-${PKG}-latest) | tar -xJC $F4PGA_INSTALL_DIR/${FPGA_FAM}/install + wget -qO- $(wget -qO- https://github.com/SymbiFlow/f4pga-arch-defs/releases/download/latest/symbiflow-${PKG}-latest) | tar -xJC $F4PGA_INSTALL_DIR/${FPGA_FAM}
done done
If the above commands exited without errors, you have successfully installed and configured your working environment. If the above commands exited without errors, you have successfully installed and configured your working environment.

View File

@ -15,4 +15,4 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
python-constraint python-constraint
https://github.com/chipsalliance/f4pga/archive/cad8afe0842cd73f5b73949fa12eab1fda326055.zip#subdirectory=f4pga https://github.com/chipsalliance/f4pga/archive/e9a520a17a00cfd268f8ee549340aaa297b63da5.zip#subdirectory=f4pga

View File

@ -34,7 +34,6 @@ Next, prepare the environment:
.. code-block:: bash .. code-block:: bash
:name: conda-prep-env :name: conda-prep-env
export PATH="$F4PGA_INSTALL_DIR/$FPGA_FAM/install/bin:$PATH";
source "$F4PGA_INSTALL_DIR/$FPGA_FAM/conda/etc/profile.d/conda.sh" source "$F4PGA_INSTALL_DIR/$FPGA_FAM/conda/etc/profile.d/conda.sh"
Finally, enter your working Conda environment: Finally, enter your working Conda environment:

View File

@ -120,10 +120,10 @@ Next, setup Conda and your system's environment, and download architecture defin
bash conda_installer.sh -u -b -p $F4PGA_INSTALL_DIR/$FPGA_FAM/conda; bash conda_installer.sh -u -b -p $F4PGA_INSTALL_DIR/$FPGA_FAM/conda;
source "$F4PGA_INSTALL_DIR/$FPGA_FAM/conda/etc/profile.d/conda.sh"; source "$F4PGA_INSTALL_DIR/$FPGA_FAM/conda/etc/profile.d/conda.sh";
conda env create -f $FPGA_FAM/environment.yml conda env create -f $FPGA_FAM/environment.yml
mkdir -p $F4PGA_INSTALL_DIR/$FPGA_FAM/install mkdir -p $F4PGA_INSTALL_DIR/$FPGA_FAM
F4PGA_TIMESTAMP='20220729-181657' F4PGA_TIMESTAMP='20220803-160711'
F4PGA_HASH='7833050' F4PGA_HASH='df6d9e5'
case $FPGA_FAM in case $FPGA_FAM in
xc7) xc7)
@ -135,7 +135,7 @@ Next, setup Conda and your system's environment, and download architecture defin
esac esac
for PKG in $F4PGA_PACKAGES; do for PKG in $F4PGA_PACKAGES; do
wget -qO- https://storage.googleapis.com/symbiflow-arch-defs/artifacts/prod/foss-fpga-tools/symbiflow-arch-defs/continuous/install/${F4PGA_TIMESTAMP}/symbiflow-arch-defs-${PKG}-${F4PGA_HASH}.tar.xz | tar -xJC $F4PGA_INSTALL_DIR/${FPGA_FAM}/install wget -qO- https://storage.googleapis.com/symbiflow-arch-defs/artifacts/prod/foss-fpga-tools/symbiflow-arch-defs/continuous/install/${F4PGA_TIMESTAMP}/symbiflow-arch-defs-${PKG}-${F4PGA_HASH}.tar.xz | tar -xJC $F4PGA_INSTALL_DIR/${FPGA_FAM}
done done
If the above commands exited without errors, you have successfully installed and configured your working environment. If the above commands exited without errors, you have successfully installed and configured your working environment.