docs/building-examples: make conda-prep-env consistent
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
This commit is contained in:
parent
a46951037b
commit
52bc71a050
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue