Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions build_openroad.sh
Original file line number Diff line number Diff line change
Expand Up @@ -251,13 +251,11 @@ echo "[INFO FLW-0028] Compiling with ${PROC} threads."

# Only add install prefix variables after parsing arguments.
YOSYS_ARGS+=" -DCMAKE_INSTALL_PREFIX=\"${INSTALL_PATH}/yosys\""
# -lto selects Bazel --config=opt (-O3 and LTO). The default Bazel build is
# -O2 without LTO, which produces a slower binary with different QoR than the
# previous CMake RELEASE build.
# Build.sh always builds with Bazel --config=release, which includes
# --config=opt (-O3 and ThinLTO).
OPENROAD_APP_ARGS=(
"-prefix=${INSTALL_PATH}/OpenROAD"
"-threads=${PROC}"
"-lto"
)

__args_setup() {
Expand Down
Loading