Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 2 additions & 6 deletions trunk/build_project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,9 @@ if [ "$1" == "install" ] ; then
EOD
ln -sf rpath.cfg ${TRUNK_INSTALL_DIR}/bin/clang++.cfg
ln -sf rpath.cfg ${TRUNK_INSTALL_DIR}/bin/clang.cfg
# Do not add -L option to flang-new because it's not currently allowed
ln -sf rpath.cfg ${TRUNK_INSTALL_DIR}/bin/flang.cfg
# flang-new also appears to be reading flang.cfg
cat <<EOD > ${TRUNK_INSTALL_DIR}/bin/flang.cfg
-Wl,-rpath=<CFGDIR>/../lib
-Wl,-rpath=<CFGDIR>/../lib/x86_64-unknown-linux-gnu
EOD
ln -sf flang.cfg ${TRUNK_INSTALL_DIR}/bin/flang-new.cfg
ln -sf rpath.cfg ${TRUNK_INSTALL_DIR}/bin/flang-new.cfg
(
# workaround for issue with triple subdir and shared builds
# problem with libomptarget.so finding dependent libLLVM* libs
Expand Down
8 changes: 2 additions & 6 deletions trunk/build_project_exper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,9 @@ if [ "$1" == "install" ] ; then
EOD
ln -sf rpath.cfg ${TRUNK_INSTALL_DIR}/bin/clang++.cfg
ln -sf rpath.cfg ${TRUNK_INSTALL_DIR}/bin/clang.cfg
# Do not add -L option to flang-new because it's not currently allowed
ln -sf rpath.cfg ${TRUNK_INSTALL_DIR}/bin/flang.cfg
# flang-new also appears to be reading flang.cfg
cat <<EOD > ${TRUNK_INSTALL_DIR}/bin/flang.cfg
-Wl,-rpath=<CFGDIR>/../lib
-Wl,-rpath=<CFGDIR>/../lib/x86_64-unknown-linux-gnu
EOD
ln -sf flang.cfg ${TRUNK_INSTALL_DIR}/bin/flang-new.cfg
ln -sf rpath.cfg ${TRUNK_INSTALL_DIR}/bin/flang-new.cfg
(
# workaround for issue with triple subdir and shared builds
# problem with libomptarget.so finding dependent libLLVM* libs
Expand Down