25 lines
642 B
Bash
25 lines
642 B
Bash
# you should source this on your manager instance
|
|
# you can also source it in your bashrc, but you must cd to this directory
|
|
# first
|
|
|
|
unamestr=$(uname)
|
|
RDIR=$(pwd)
|
|
AWSFPGA=$RDIR/platforms/f1/aws-fpga
|
|
export CL_DIR=$AWSFPGA/hdk/cl/developer_designs/cl_firesim
|
|
|
|
# setup risc-v tools
|
|
source env.sh
|
|
|
|
# put the manager on the user path
|
|
export PATH=$PATH:$(pwd)/deploy
|
|
|
|
# setup ssh-agent
|
|
source deploy/ssh-setup.sh
|
|
|
|
# flag for scripts to check that this has been sourced
|
|
export FIRESIM_SOURCED=1
|
|
|
|
# this is a prefix added to run farm names. change this to isolate run farms
|
|
# if you have multiple copies of firesim
|
|
export FIRESIM_RUNFARM_PREFIX=""
|