Skip to content
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

Closed
wants to merge 1 commit into from

Conversation

hppritcha
Copy link
Member

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)

@hppritcha hppritcha added this to the v3.1.5 milestone Oct 6, 2019
@@ -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],
Copy link
Contributor

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],[
Copy link
Contributor

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)
@jsquyres jsquyres changed the title configury: add option to disable enable-new-dtags v3.1.x: configury: add option to disable enable-new-dtags Oct 7, 2019
@jsquyres
Copy link
Member

jsquyres commented Oct 7, 2019

The commit on this PR doesn't look much like ebb30c1 at all -- it might be better to say that this commit is based off ebb30c1, rather than being a cherry-pick of ebb30c1.

Copy link
Member

@jsquyres jsquyres left a 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.

@hppritcha
Copy link
Member Author

actually this was already applied to v3.1.x before it was branched from master.

@hppritcha hppritcha closed this Oct 7, 2019
@jsquyres
Copy link
Member

jsquyres commented Oct 7, 2019

Ah! Sorry for the false alarm, then... 😦

@hppritcha hppritcha deleted the topic/pr3506_to_3.1.x branch October 29, 2021 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants