Skip to content

Commit

Permalink
build_openroad: Use etc/Build script to build OpenROAD
Browse files Browse the repository at this point in the history
Signed-off-by: Eryk Szpotanski <[email protected]>
  • Loading branch information
eszpotanski committed Aug 29, 2024
1 parent 36409be commit 8665172
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build_openroad.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
set -eu

# Make sure we are on the correct folder before beginning
cd "$(dirname $(readlink -f $0))"
DIR="$(dirname $(readlink -f $0))"
cd "$DIR"

# Set up paths to dependencies, such as cmake and boost. Safe no-op
# if tools were set up elsewhere in the path.
Expand Down Expand Up @@ -246,7 +247,7 @@ __local_build()
${NICE} make install -C tools/yosys -j "${PROC}" ${YOSYS_ARGS}

echo "[INFO FLW-0018] Compiling OpenROAD."
eval ${NICE} cmake tools/OpenROAD -B tools/OpenROAD/build ${OPENROAD_APP_ARGS}
eval ${NICE} ./tools/OpenROAD/etc/Build.sh -dir="$DIR/tools/OpenROAD/build" -threads=${PROC} -cmake=\'${OPENROAD_APP_ARGS}\'
${NICE} cmake --build tools/OpenROAD/build --target install -j "${PROC}"
}

Expand Down

0 comments on commit 8665172

Please sign in to comment.