Skip to content

Commit

Permalink
Merge pull request #1593 from firesim/bump-chipyard-for-release
Browse files Browse the repository at this point in the history
bump chipyard to main for 1.17.0 release
  • Loading branch information
sagark committed Jul 9, 2023
2 parents 5a4cc3d + 7cb1003 commit 07efa6a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/check-docs-generated-components.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def run_docs_generated_components_check():
with cd(manager_fsim_dir), prefix('source sourceme-manager.sh'):
with prefix("cd deploy"):
run("cat config_runtime.yaml")
path = 'docs/Getting-Started-Guides/AWS-EC2-F1-Tutorial/Running-Simulations-Tutorial/DOCS_EXAMPLE_config_runtime.yaml'
path = 'docs/Getting-Started-Guides/AWS-EC2-F1-Getting-Started/Running-Simulations/DOCS_EXAMPLE_config_runtime.yaml'
run(f"cat ../{path}")
run(f"diff config_runtime.yaml ../{path}")
run("firesim --help")
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/check-vitis-docs-generated-components.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def run_docs_generated_components_check():
with prefix('source sourceme-manager.sh --skip-ssh-setup'):
with prefix("cd deploy"):
run("cat config_runtime.yaml")
path = "docs/Getting-Started-Guides/On-Premises-FPGA-Tutorial/Running-Simulations/DOCS_EXAMPLE_config_runtime.yaml"
path = "docs/Getting-Started-Guides/On-Premises-FPGA-Getting-Started/Running-Simulations/DOCS_EXAMPLE_config_runtime.yaml"
run(f"cat ../{path}")
run(f"diff config_runtime.yaml ../{path}")

Expand Down
13 changes: 7 additions & 6 deletions scripts/machine-launch-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,15 +177,16 @@ set -o pipefail
$SUDO bash ./install_conda.sh -b -p "$CONDA_INSTALL_PREFIX" $conda_install_extra
rm ./install_conda.sh

# get most up-to-date conda version
"${DRY_RUN_ECHO[@]}" $SUDO "$CONDA_EXE" update $DRY_RUN_OPTION -y -n base -c conda-forge conda

# see https://conda-forge.org/docs/user/tipsandtricks.html#multiple-channels
# for more information on strict channel_priority
"${DRY_RUN_ECHO[@]}" $SUDO "$CONDA_EXE" config --system --set channel_priority flexible
# By default, don't mess with people's PS1, I personally find it annoying
# by default, don't mess with people's PS1, I personally find it annoying
"${DRY_RUN_ECHO[@]}" $SUDO "$CONDA_EXE" config --system --set changeps1 false
# don't automatically activate the 'base' environment when intializing shells
# don't automatically activate the 'base' environment when initializing shells
"${DRY_RUN_ECHO[@]}" $SUDO "$CONDA_EXE" config --system --set auto_activate_base false
# don't automatically update conda to avoid https://github.com/conda-forge/conda-libmamba-solver-feedstock/issues/2
"${DRY_RUN_ECHO[@]}" $SUDO "$CONDA_EXE" config --system --set auto_update_conda false
# automatically use the ucb-bar channel for specific packages https://anaconda.org/ucb-bar/repo
"${DRY_RUN_ECHO[@]}" $SUDO "$CONDA_EXE" config --system --add channels ucb-bar

Expand All @@ -204,7 +205,7 @@ set -o pipefail
# initialize conda in the system-wide rcfiles
conda_init_extra_args=(--no-user --system)
fi
# run conda-init and look at it's output to insert 'conda activate $CONDA_ENV_NAME' into the
# run conda-init and look at its output to insert 'conda activate $CONDA_ENV_NAME' into the
# block that conda-init will update if ever conda is installed to a different prefix and
# this is rerun.
$SUDO "${CONDA_EXE}" init $DRY_RUN_OPTION "${conda_init_extra_args[@]}" $CONDA_SHELL_TYPE 2>&1 | \
Expand Down Expand Up @@ -292,7 +293,7 @@ set -o pipefail
argcomplete_extra_args=( --dest "${BASH_COMPLETION_COMPAT_DIR}" )

else
# if we're aren't installing into a system directory, then initialize argcomplete
# if we aren't installing into a system directory, then initialize argcomplete
# with --user so that it goes into the home directory
argcomplete_extra_args=( --user )
fi
Expand Down

0 comments on commit 07efa6a

Please sign in to comment.