Skip to content

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
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?

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)
@hppritcha hppritcha force-pushed the topic/pr3506_to_3.1.x branch from db88ba1 to faf627d Compare October 7, 2019 10:13
@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