18 lines
379 B
Bash
Executable File
18 lines
379 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Sets up FireSim for use as a library within Chipyard
|
|
|
|
set -e
|
|
set -o pipefail
|
|
|
|
RDIR=$(pwd)
|
|
scripts_dir="$( cd "$( dirname "${BASH_SOURCE[0]:-${(%):-%x}}" )" >/dev/null 2>&1 && pwd )"
|
|
|
|
cd "${scripts_dir}/.."
|
|
|
|
# Reenable the FireSim submodule
|
|
git config --unset submodule.sims/firesim.update || true
|
|
cd sims/firesim
|
|
./build-setup.sh "$@" --library
|
|
cd "$RDIR"
|