Merge pull request #1063 from ucb-bar/no-nvdla-sw
Don't initialize nvdla-workload with init-submodules
This commit is contained in:
@@ -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
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,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%/}"
|
||||
|
||||
Reference in New Issue
Block a user