Skip to content

v3.0.x: Fix ofi configury #6370

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
Feb 8, 2019
Merged

v3.0.x: Fix ofi configury #6370

merged 2 commits into from
Feb 8, 2019

Conversation

matcabral
Copy link
Contributor

This PR is the last 2 commits from master PR #6363

Update the OPAL_CHECK_OFI configury macro:

- Make it safe to call the macro multiple times:
  - The checks only execute the first time it is invoked
  - Subsequent invocations, it just emits a friendly "checking..."
    message so that configure output is sensible/logical
- With the goal of ultimately removing opal/mca/common/libfabric, rename the
  output variables from OPAL_CHECK_OFI to be
  opal_ofi_{happy|CPPFLAGS|LDFLAGS|LIBS}.
- Update btl/ofi, btl/usnic, and mtl/ofi for these new conventions.
- Also, don't use AC_REQUIRE to invoke OPAL_CHECK_OFI because that
  causes the macro to be invoked at a fairly random time, which makes
  configure stdout confusing / hard to grok.
- Remove a little left-over kruft in OPAL_CHECK_OFI, too (which
  resulted in an indenting change, making the change to
  opal_check_ofi.m4 look larger than it really is).

Thanks Alastair McKinstry for the report and initial fix.
Thanks Rashika Kheria for the reminder.

Signed-off-by: Jeff Squyres <[email protected]>
(cherry picked from commit f5e1a67)
It never lived up to its purpose (and has caused amorphous indirect
errors such as #2519), so
delete it.

Signed-off-by: Jeff Squyres <[email protected]>
(cherry picked from commit dd20174)
@jsquyres jsquyres changed the title Fix ofi configury v3.0.x: Fix ofi configury Feb 8, 2019
@jsquyres jsquyres added this to the v3.0.4 milestone Feb 8, 2019
@hppritcha hppritcha merged commit 2b6f888 into open-mpi:v3.0.x Feb 8, 2019
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.

3 participants