Skip to content
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

v5.0: Change MCA component build style default to static #8704

Merged

Conversation

bwbarrett
Copy link
Member

This patch series primarily changes the default component build style from dso to static. At the same time, it cleans up some minor nits and clarifies the selection logic when there are conflicting --enable-mca-dso and --enable-mca-static arguments.

Backport of #8132.

opal_mca.m4 was setting enable_dlopen after it was processed, and
the dlopen argument checking was overriding configure arguments
that belong to opal_mca.  Clean up the late change in enable_dlopen
and handle the --disable-dlopen case in opal_mca instead of
overriding user options.

Signed-off-by: Brian Barrett <[email protected]>
(cherry picked from commit ca72bd4)
Remove an environment variable that probably did something at one
point, but is dead code now.  Git history is hard to follow due
to some reverts in the SVN days.

Signed-off-by: Brian Barrett <[email protected]>
(cherry picked from commit 76328f0)
Default to building MCA components into the library, rather than
as dso objects, since most users are not taking advantage of
per-library packaging, and this results in less stat/open/etc. calls
during application startup.

Clean up the static/dso selection logic for componets at the same time.
Before, it was relatively hard to describe what would happen if
there was a mix of --enable-mca-dso and --enable-mca-static arguments.
Now, the code will first look for a component-specific argument, then
a framework-level argument, then a global argument.  If there is a tie,
static is preferred.

Update the NEWS and README.md to document the changes.  Jeff Squyres
wrote the original update to the README file, which was adopted to
the new README.md format.

Signed-off-by: Brian Barrett <[email protected]>
(cherry picked from commit 930260c)
@jsquyres jsquyres changed the title Change MCA component build style default to static v5.0: Change MCA component build style default to static Mar 25, 2021
@jsquyres jsquyres added this to the v5.0.0 milestone Mar 25, 2021
@gpaulsen gpaulsen merged commit 8b23c66 into open-mpi:v5.0.x Mar 30, 2021
@bwbarrett bwbarrett deleted the backports/mca-build-as-static-by-default branch April 1, 2021 18:17
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