Made indentation consistent
This commit is contained in:
@@ -134,23 +134,23 @@ function exit_if_last_command_failed
|
|||||||
# setup and install conda environment
|
# setup and install conda environment
|
||||||
if run_step "1"; then
|
if run_step "1"; then
|
||||||
begin_step "1" "Conda environment setup"
|
begin_step "1" "Conda environment setup"
|
||||||
# note: lock file must end in .conda-lock.yml - see https://github.com/conda-incubator/conda-lock/issues/154
|
# note: lock file must end in .conda-lock.yml - see https://github.com/conda-incubator/conda-lock/issues/154
|
||||||
CONDA_REQS=$CYDIR/conda-reqs
|
CONDA_REQS=$CYDIR/conda-reqs
|
||||||
CONDA_LOCK_REQS=$CONDA_REQS/conda-lock-reqs
|
CONDA_LOCK_REQS=$CONDA_REQS/conda-lock-reqs
|
||||||
# must match with the file generated by generate-conda-lockfile.sh
|
# must match with the file generated by generate-conda-lockfile.sh
|
||||||
LOCKFILE=$CONDA_LOCK_REQS/conda-requirements-$TOOLCHAIN_TYPE-linux-64.conda-lock.yml
|
LOCKFILE=$CONDA_LOCK_REQS/conda-requirements-$TOOLCHAIN_TYPE-linux-64.conda-lock.yml
|
||||||
|
|
||||||
if [ "$USE_UNPINNED_DEPS" = true ]; then
|
if [ "$USE_UNPINNED_DEPS" = true ]; then
|
||||||
# auto-gen the lockfiles
|
# auto-gen the lockfiles
|
||||||
$CYDIR/scripts/generate-conda-lockfiles.sh
|
$CYDIR/scripts/generate-conda-lockfiles.sh
|
||||||
exit_if_last_command_failed
|
exit_if_last_command_failed
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# use conda-lock to create env
|
# use conda-lock to create env
|
||||||
conda-lock install --conda $(which conda) -p $CYDIR/.conda-env $LOCKFILE &&
|
conda-lock install --conda $(which conda) -p $CYDIR/.conda-env $LOCKFILE &&
|
||||||
|
|
||||||
source $CYDIR/.conda-env/etc/profile.d/conda.sh &&
|
source $CYDIR/.conda-env/etc/profile.d/conda.sh &&
|
||||||
conda activate $CYDIR/.conda-env
|
conda activate $CYDIR/.conda-env
|
||||||
exit_if_last_command_failed
|
exit_if_last_command_failed
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -187,25 +187,25 @@ fi
|
|||||||
# run ctags for code navigation
|
# run ctags for code navigation
|
||||||
if run_step "4"; then
|
if run_step "4"; then
|
||||||
begin_step "4" "Running ctags for code navigation"
|
begin_step "4" "Running ctags for code navigation"
|
||||||
$CYDIR/scripts/gen-tags.sh
|
$CYDIR/scripts/gen-tags.sh
|
||||||
exit_if_last_command_failed
|
exit_if_last_command_failed
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# precompile chipyard scala sources
|
# precompile chipyard scala sources
|
||||||
if run_step "5"; then
|
if run_step "5"; then
|
||||||
begin_step "5" "Pre-compiling Chipyard Scala sources"
|
begin_step "5" "Pre-compiling Chipyard Scala sources"
|
||||||
pushd $CYDIR/sims/verilator
|
pushd $CYDIR/sims/verilator
|
||||||
make launch-sbt SBT_COMMAND=";project chipyard; compile"
|
make launch-sbt SBT_COMMAND=";project chipyard; compile"
|
||||||
make launch-sbt SBT_COMMAND=";project tapeout; compile"
|
make launch-sbt SBT_COMMAND=";project tapeout; compile"
|
||||||
popd
|
popd
|
||||||
exit_if_last_command_failed
|
exit_if_last_command_failed
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# setup firesim
|
# setup firesim
|
||||||
if run_step "6"; then
|
if run_step "6"; then
|
||||||
begin_step "6" "Setting up FireSim"
|
begin_step "6" "Setting up FireSim"
|
||||||
$CYDIR/scripts/firesim-setup.sh
|
$CYDIR/scripts/firesim-setup.sh
|
||||||
$CYDIR/sims/firesim/gen-tags.sh
|
$CYDIR/sims/firesim/gen-tags.sh
|
||||||
exit_if_last_command_failed
|
exit_if_last_command_failed
|
||||||
|
|
||||||
# precompile firesim scala sources
|
# precompile firesim scala sources
|
||||||
|
|||||||
Reference in New Issue
Block a user