Skip to content

Commit

Permalink
Add init-software script
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryz123 committed Dec 16, 2021
1 parent 9215231 commit 2ac84ec
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
14 changes: 14 additions & 0 deletions scripts/init-software.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
# exit script if any command fails
set -e
set -o pipefail

# Enable submodule update for software submodules
git config --unset submodule.software/nvdla-workload.update || :
git config --unset submodule.software/coremark.update || :
git config --unset submodule.software/spec2017.update || :

# Initialize local software submodules
git submodule update --init --recursive software/nvdla-workload
git submodule update --init --recursive software/coremark
git submodule update --init --recursive software/spec2017
7 changes: 5 additions & 2 deletions scripts/init-submodules-no-riscv-tools-nolog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,14 @@ cd "$CHIPYARD_DIR"
generators/sha3 \
generators/gemmini \
sims/firesim \
software/nvdla-workload
software/nvdla-workload \
software/coremark \
software/firemarshal \
software/spec2017 \
vlsi/hammer-cadence-plugins \
vlsi/hammer-synopsys-plugins \
vlsi/hammer-mentor-plugins \
software/firemarshal \

fpga/fpga-shells
do
"$1" "${name%/}"
Expand Down

0 comments on commit 2ac84ec

Please sign in to comment.