firesim/deploy/workloads/run-ccbench-cache-sweep.sh

17 lines
409 B
Bash
Executable File

#!/usr/bin/env bash
# the runfarm WILL be terminated upon completion
trap "exit" INT
set -e
set -o pipefail
if [ "$1" == "withlaunch" ]; then
firesim -c workloads/ccbench-cache-sweep.yaml launchrunfarm
fi
firesim -c workloads/ccbench-cache-sweep.yaml infrasetup
firesim -c workloads/ccbench-cache-sweep.yaml runworkload
firesim -c workloads/ccbench-cache-sweep.yaml terminaterunfarm --forceterminate