Skip to content

v2.x: Improve JDK tool path resolution on OS X/macOS #5153

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

Merged
merged 3 commits into from
May 10, 2018

Conversation

kawashima-fj
Copy link
Member

Ref #5015

cherry picked from commit ff5af73 and 8c32cd8.

gpichot and others added 2 commits May 7, 2018 10:32
(cherry picked from commit ff5af73)
Signed-off-by: KAWASHIMA Takahiro <[email protected]>
…acOS.

Also avoid picking up Apple's Java shims via the sym. links to them in
`/usr/bin` on systems where any one of them could possibly exhibit behavior
that is erratic and, to some extent, likely to be incorrect nowadays (cf.:

- https://www.mail-archive.com/[email protected]/msg20551.html
- open-mpi#5015 (comment)
- the last part  of
  open-mpi#5015 (comment)
- open-mpi#5015 (comment)

for more detailed context.)

Works alongside open-mpi#5001 to close open-mpi#5000.

Signed-off-by: Bryce Glover <[email protected]>
(cherry picked from commit 8c32cd8)
Signed-off-by: KAWASHIMA Takahiro <[email protected]>
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.

@hppritcha Good to go.

     That PR accidentally changed Open MPI's build configuration infrastruc-
ture's Java toolchain detection logic so that it would, as reported by @bosilca
in open-mpi#5001 (comment) and tracked down by me in open-mpi#5001 (comment), abort your entire
in-progress Open MPI build when it failed to find an OS X/macOS JDK instead of
simply falling back to checking for a JDK in locations where it would be found
on other platforms.  _Oops…!_

Signed-off-by: Bryce Glover <[email protected]>
(cherry picked from commit 4a05c7e)
@kawashima-fj
Copy link
Member Author

PR #5160 is added.

@hppritcha hppritcha merged commit ec2367e into open-mpi:v2.x May 10, 2018
@jsquyres
Copy link
Member

@kawashima-fj Thanks! I forgot about this v2.x PR.

@kawashima-fj kawashima-fj deleted the pr/v2.x/apple_java_path branch May 16, 2018 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants