Skip to content

Commit e261fc6

Browse files
committed
docker: fix recent regression in RPATH
fixes #3242 This error was not caught by build scripts, obviously. Signed-off-by: Øyvind Harboe <[email protected]>
1 parent bf2eab5 commit e261fc6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build_openroad.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,10 @@ fi
211211

212212
# Only add install prefix variables after parsing arguments.
213213
YOSYS_ARGS+=" PREFIX=${INSTALL_PATH}/yosys"
214-
OPENROAD_APP_ARGS+=" -D CMAKE_INSTALL_PREFIX=${INSTALL_PATH}/OpenROAD "
214+
OPENROAD_APP_ARGS+=" -D CMAKE_INSTALL_PREFIX=${INSTALL_PATH}/OpenROAD"
215215
if [ -n "$CMAKE_INSTALL_RPATH" ]; then
216-
OPENROAD_APP_ARGS+="-D CMAKE_INSTALL_RPATH=${CMAKE_INSTALL_RPATH}"
216+
OPENROAD_APP_ARGS+=" -D CMAKE_INSTALL_RPATH=${CMAKE_INSTALL_RPATH}"
217+
OPENROAD_APP_ARGS+=" -D CMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE"
217218
fi
218219
LSORACLE_ARGS+=" \
219220
-D YOSYS_SHARE_DIR=${INSTALL_PATH}/yosys/share/yosys \

0 commit comments

Comments
 (0)