34 lines
515 B
Bash
Executable File
34 lines
515 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -ex
|
|
|
|
{
|
|
|
|
export MAKEFLAGS=-j16
|
|
|
|
STARTDIR=$(git rev-parse --show-toplevel)
|
|
|
|
./build-setup.sh riscv-tools -f
|
|
|
|
source $STARTDIR/.conda-env/etc/profile.d/conda.sh
|
|
|
|
source env.sh
|
|
|
|
./scripts/firesim-setup.sh
|
|
cd sims/firesim
|
|
source sourceme-f1-manager.sh --skip-ssh-setup
|
|
|
|
cd sim
|
|
unset MAKEFLAGS
|
|
make verilator
|
|
export MAKEFLAGS=-j16
|
|
|
|
cd $STARTDIR/software/firemarshal
|
|
./init-submodules.sh
|
|
marshal -v build br-base.json
|
|
|
|
cd $STARTDIR
|
|
./scripts/repo-clean.sh
|
|
|
|
} 2>&1 | tee first-clone-setup-fast-log
|