Skip to content

Commit 3c6eade

Browse files
committed
Unpollute init-submodules script
1 parent c9ce518 commit 3c6eade

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

scripts/build-setup.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,8 @@ if run_step "8"; then
309309
exit_if_last_command_failed
310310
fi
311311
popd
312+
# Ensure FireMarshal CLI is on PATH in env.sh (idempotent)
313+
replace_content env.sh build-setup-conda "# line auto-generated by build-setup.sh\n__DIR=\"$CYDIR\"\nPATH=\\$__DIR/software/firemarshal:\\$PATH"
312314
fi
313315

314316
if run_step "10"; then

scripts/init-submodules-no-riscv-tools-nolog.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ trap 'error_handler $LINENO "$submodule_name"' ERR
2929
function usage
3030
{
3131
echo "Usage: $0 <options>"
32-
echo "Initialize Chipyard submodules and setup initial env.sh script."
32+
echo "Initialize Chipyard submodules"
3333
echo "By default, this will only initialize minimally required submodules"
3434
echo "Enable other submodules with the --full or submodule-specific flags"
3535
echo ""
@@ -241,7 +241,3 @@ cd "$RDIR"
241241
if [ ! -f ./software/firemarshal/marshal-config.yaml ]; then
242242
echo "firesim-dir: '../../sims/firesim/'" > ./software/firemarshal/marshal-config.yaml
243243
fi
244-
245-
replace_content env.sh init-submodules "# line auto-generated by init-submodules-no-riscv-tools.sh
246-
__DIR=\"$RDIR\"
247-
PATH=\$__DIR/software/firemarshal:\$PATH"

0 commit comments

Comments
 (0)