Skip to content

build: Drop support for config-time componets #10769

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

Conversation

bwbarrett
Copy link
Member

@bwbarrett bwbarrett commented Sep 6, 2022

Remove support for both dropping in components to a tarball (without re-running autogen) and for using full configure scripts (which, practically speaking, was required for the first capability). We had accidentally broken both a couple months ago, and don't have any tests for it, so just remove.

@bwbarrett bwbarrett force-pushed the cleanup/mca-no-config-time-components branch from 015b3b9 to 2c7cf7c Compare September 9, 2022 21:26
@bwbarrett bwbarrett force-pushed the cleanup/mca-no-config-time-components branch from 2c7cf7c to f9e6d6f Compare September 30, 2022 16:14
Drop support for both adding components at configure time (ie, after
autogen has run) and components that have a stand-alone configure
script.  The first change greatly simplifies reasoning about
variable names in the MCA configure code, since the component name
will never be a shell variable with this change.  Note that there
was already one place where we would have mis-handled such a
component, in setting LDFLAGS for the wrapper compilers.

The second is dead code after the first, as no component currently
built in the OMPI tree uses an external configure script directly
(note that config macros that call a third-party configure script,
like the io/romio component, are still fine).

Organizations can still build tarballs with added components after
this change, they just must run autogen to add the components
to the list of available component.  And developers are also free
to add run-time components that are built outside of the OMPI
build (generally by building OMPI with the --with-devel-headers
configure option).

Signed-off-by: Brian Barrett <bbarrett@amazon.com>
@bwbarrett bwbarrett force-pushed the cleanup/mca-no-config-time-components branch from f9e6d6f to 6d06552 Compare September 30, 2022 16:57
@bwbarrett bwbarrett changed the title RFC: build: Drop support for config-time componets build: Drop support for config-time componets Sep 30, 2022
@bwbarrett
Copy link
Member Author

Last update was to fix a spelling error in the commit title. No other changes. Intend to commit when CI completes.

@bwbarrett bwbarrett merged commit 5f63299 into open-mpi:main Sep 30, 2022
@bwbarrett bwbarrett deleted the cleanup/mca-no-config-time-components branch September 30, 2022 18:06
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