docs/building-examples: make conda-prep-env consistent

Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
This commit is contained in:
Unai Martinez-Corral 2022-07-31 14:06:14 +02:00
parent a46951037b
commit 52bc71a050
2 changed files with 5 additions and 19 deletions

View File

@ -54,7 +54,7 @@ esac
fi
# activate conda and enter example dir
activate_env="docs/building-examples.rst:export-install-dir,fpga-fam-$fpga_family,conda-prep-env-$fpga_family,f4pga-env-bin,f4pga-env-share-$fpga_family,conda-act-env"
activate_env="docs/building-examples.rst:export-install-dir,fpga-fam-$fpga_family,conda-prep-env,f4pga-env-bin,f4pga-env-share-$fpga_family,conda-act-env"
snippets="${activate_env},enter-dir-$fpga_family"
case "$fpga_family" in

View File

@ -31,26 +31,12 @@ Select your FPGA family:
Next, prepare the environment:
.. tabs::
.. group-tab:: Artix-7
.. code-block:: bash
:name: conda-prep-env-xc7
.. code-block:: bash
: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"
.. group-tab:: EOS S3
.. code-block:: bash
:name: conda-prep-env-eos-s3
export PATH="$F4PGA_INSTALL_DIR/$FPGA_FAM/install/bin:$PATH";
export F4PGA_BIN_DIR="$F4PGA_INSTALL_DIR/$FPGA_FAM/install/bin";
export F4PGA_SHARE_DIR="$F4PGA_INSTALL_DIR/$FPGA_FAM/install/share/f4pga";
source "$F4PGA_INSTALL_DIR/$FPGA_FAM/conda/etc/profile.d/conda.sh"
Finally, enter your working Conda environment:
.. code-block:: bash