File size: 496 Bytes
aa677e3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env bash
set -euo pipefail

# Optional helper if you want a local ORFS clone.
# Usage:
#   bash scripts/setup_orfs.sh /path/to/install
DEST="${1:-$HOME/orfs}"
if [ -d "$DEST/OpenROAD-flow-scripts" ]; then
  echo "[setup] ORFS already exists at $DEST/OpenROAD-flow-scripts"
  exit 0
fi

mkdir -p "$DEST"
cd "$DEST"
git clone https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts.git
echo "[setup] ORFS cloned. Set:"
echo "  export ORFS_FLOW_DIR=$DEST/OpenROAD-flow-scripts/flow"