Merge pull request #1063 from ucb-bar/no-nvdla-sw

Don't initialize nvdla-workload with init-submodules
This commit is contained in:
Jerry Zhao
2021-12-17 11:37:11 -08:00
committed by GitHub
3 changed files with 27 additions and 1 deletions

View File

@@ -13,6 +13,15 @@ official RISC-V ISA reference implementation. Qemu is a high-performance
functional simulator that can run nearly as fast as native code, but can be
challenging to modify.
To initialize additional software repositories, such as wrappers for Coremark,
SPEC2017, and workloads for the NVDLA, run the following script. The
submodules are located in the ``software`` directory.
.. code-block:: shell
./scripts/init-software.sh
.. toctree::
:maxdepth: 2
:caption: Contents:

14
scripts/init-software.sh Executable file
View 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

View File

@@ -47,10 +47,13 @@ cd "$CHIPYARD_DIR"
generators/sha3 \
generators/gemmini \
sims/firesim \
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%/}"