Skip to content

v4.1.x: two cleanups #10407

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 2 commits into from
May 24, 2022
Merged

Conversation

jsquyres
Copy link
Member

This is a cherry pick of 2 minor fixes from #10246 (the other commits on that PR were either unrelated to v4.1.x or configure output cleanups that we really shouldn't do so late in the v4.1.x series).

  • Fix the "check for spaces in directories" configure test
  • Fix a name conflict in the Java MPI bindings

OMPI_CANONICALIZE_PATH broke on MacOS when `/usr/bin/python`
disappeared (in favor of `/usr/bin/python3`) in MacOS Monterrey.  Make
things simpler by not canonicalizing the path to begin with.

Specifically: just look at `pwd`, $srcdir, and $prefix.  Even if
$srcdir and/or $prefix are relative to the build dir, the union of all
the checks will ensure that none of the target paths will contain
spaces.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
(cherry picked from commit 6992c64)
@jsquyres jsquyres added this to the v4.1.4 milestone May 18, 2022
@jsquyres jsquyres requested a review from bwbarrett May 18, 2022 14:33
Unbelievably, at least some versions of jni.h have a global symbol
named "jvalue".  So avoid using that name as a parameter or variable
in our code.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
(cherry picked from commit 5b0ef3e)
@jsquyres jsquyres force-pushed the pr/v4.1.x/misc-cleanups branch from 0789987 to 1a10507 Compare May 18, 2022 14:36
@jsquyres jsquyres merged commit 586d0b8 into open-mpi:v4.1.x May 24, 2022
@jsquyres jsquyres deleted the pr/v4.1.x/misc-cleanups branch May 24, 2022 15:41
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.

2 participants