Add init-software script
This commit is contained in:
14
scripts/init-software.sh
Executable file
14
scripts/init-software.sh
Executable file
@@ -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
|
||||||
@@ -47,11 +47,13 @@ cd "$CHIPYARD_DIR"
|
|||||||
generators/sha3 \
|
generators/sha3 \
|
||||||
generators/gemmini \
|
generators/gemmini \
|
||||||
sims/firesim \
|
sims/firesim \
|
||||||
software/nvdla-workload
|
software/nvdla-workload \
|
||||||
|
software/coremark \
|
||||||
|
software/firemarshal \
|
||||||
|
software/spec2017 \
|
||||||
vlsi/hammer-cadence-plugins \
|
vlsi/hammer-cadence-plugins \
|
||||||
vlsi/hammer-synopsys-plugins \
|
vlsi/hammer-synopsys-plugins \
|
||||||
vlsi/hammer-mentor-plugins \
|
vlsi/hammer-mentor-plugins \
|
||||||
software/firemarshal \
|
|
||||||
fpga/fpga-shells
|
fpga/fpga-shells
|
||||||
do
|
do
|
||||||
"$1" "${name%/}"
|
"$1" "${name%/}"
|
||||||
|
|||||||
Reference in New Issue
Block a user