File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 211211
212212# Only add install prefix variables after parsing arguments.
213213YOSYS_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 "
215+ if [ -n " $CMAKE_INSTALL_RPATH " ]; then
216+ OPENROAD_APP_ARGS+=" -D CMAKE_INSTALL_RPATH=${CMAKE_INSTALL_RPATH} "
217+ fi
215218LSORACLE_ARGS+=" \
216219-D YOSYS_SHARE_DIR=${INSTALL_PATH} /yosys/share/yosys \
217220-D CMAKE_INSTALL_PREFIX=${INSTALL_PATH} /LSOracle \
Original file line number Diff line number Diff line change 22function setpaths() {
33 local DIR=$( readlink -f " $( dirname " ${BASH_SOURCE[0]} " ) " )
44 export PATH=" $DIR /dependencies/bin:$PATH "
5+ export CMAKE_INSTALL_RPATH=$DIR /dependencies/lib:$DIR /dependencies/lib64
56}
67
78setpaths
You can’t perform that action at this time.
0 commit comments