-
Notifications
You must be signed in to change notification settings - Fork 859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v3.1.x: configury: add option to disable enable-new-dtags #7050
Conversation
config/opal_setup_wrappers.m4
Outdated
@@ -133,7 +133,7 @@ AC_DEFUN([OPAL_SETUP_WRAPPER_INIT],[ | |||
|
|||
AC_MSG_CHECKING([if want wrapper compiler runpath support]) | |||
AC_ARG_ENABLE([wrapper-runpath], | |||
[AS_HELP_STRING([--enable-wrapper-runpath], | |||
[AS_HELP_STRING([--enable--wrapper-runpath], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are you sure about this?
@@ -227,12 +227,41 @@ AC_DEFUN([OPAL_SETUP_RUNPATH],[ | |||
AC_MSG_RESULT([yes (-Wl,--enable-new-dtags)])], | |||
[AC_MSG_RESULT([no])]) | |||
AC_LANG_POP([C])]) | |||
m4_ifdef([project_ompi],[ | |||
OPAL_LIBTOOL_CONFIG([wl],[wl_fc],[--tag=FC],[]) | |||
m4_ifdef([project_ompi],[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the previous indentation was correct imho
The --enable-new-dtags option for the compiler wrappers is often great, but for some particular install/usage scenarios causes issues. This commit provides a new configury option to use of rpath in the compiler wrappers, but disables the use of --enable-new-dtags in the link line. The new configury option is --enable-wrappers-runpath To disable use of --enable-new-dtags in the wrappers, add --disable-wrappers-runpath to the Open MPI configury line. Fixes open-mpi#1089 Signed-off-by: Howard Pritchard <[email protected]> (cherry picked from commit ebb30c1)
db88ba1
to
faf627d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I take that back -- this commit has nothing to do with ebb30c1 at all. The commit message and the content do not match at all: this commit does not add the --enable|disable-wrappers-runpath
options.
actually this was already applied to v3.1.x before it was branched from master. |
Ah! Sorry for the false alarm, then... 😦 |
The --enable-new-dtags option for the compiler wrappers is
often great, but for some particular install/usage scenarios
causes issues.
This commit provides a new configury option to use of rpath
in the compiler wrappers, but disables the
use of --enable-new-dtags in the link line.
The new configury option is
--enable-wrappers-runpath
To disable use of --enable-new-dtags in the wrappers, add
--disable-wrappers-runpath
to the Open MPI configury line.
Fixes #1089
Signed-off-by: Howard Pritchard [email protected]
(cherry picked from commit ebb30c1)