-
Couldn't load subscription status.
- Fork 929
v4.0: Ensure that libdir is always first in search path #9029
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
v4.0: Ensure that libdir is always first in search path #9029
Conversation
Switch the ordering of both the -L and rpath/runpath arguments added by the wrapper compiler so that the install's libdir is always the first in the list of paths to search. Previously, the component-related paths were added first, which could cause applications to find an errant (to us, anyway) libmpi. Signed-off-by: Brian Barrett <bbarrett@amazon.com> (cherry picked from commit bed9f20) (cherry picked from commit 99c795d)
|
The cherry pick is from the v4.1 branch, since pulling directly from master would create conflicts I already fixed in the 4.1 backport. Refs #8990 |
|
i'm assuminng the github cherry pick checker is confused about having two cherry-picked from strings so ignoring this failure. |
No, I think it's actually doing the right thing. The second cherry pick line is from the v4.1.x branch, but the commit hasn't been pushed on that branch yet. I'll sort it out once #9028 is pushed. |
7a0b1f2 to
f027bee
Compare
|
we are wanting to get a release tagged today so did some editing of the commit to fool the cherry-pick checker. |
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.
Howard -- what is this line in the commit message:
(also from - fool cherrypicker 99c795d)
Please do not do that.
f027bee to
7a0b1f2
Compare
|
Just to be clear: the git commit checker is doing exactly what it is supposed to be doing. It is not allowing you to say that this is a cherry pick of abc123 until commit abc123 actually exists in the Open MPI repository (i.e., until the PR where it came from is merged). |
|
I committed the v4.1 change and repushed to the original commit. Not unsurprisingly, the commit checker passes now. No need for silly hacks; the system worked as expected. @jsquyres can you update your review? |
If you guys need a 4.1 PR merged for situations like this, just ask. @bwbarrett merged #9028, which made the git cherry pick checker happy. |
|
we want to get this in and tag the branch to generate a 4.0.6rc3 tarball this evening. |
Switch the ordering of both the -L and rpath/runpath arguments
added by the wrapper compiler so that the install's libdir
is always the first in the list of paths to search. Previously,
the component-related paths were added first, which could cause
applications to find an errant (to us, anyway) libmpi.
Signed-off-by: Brian Barrett bbarrett@amazon.com
(cherry picked from commit bed9f20)
(cherry picked from commit 99c795d)