Skip to content

configury: always require Python for building Open MPI #13254

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 16, 2025

Conversation

jsquyres
Copy link
Member

@jsquyres jsquyres commented May 16, 2025

See individual commit messages for details. The main / important commit in this PR has the following commit message:


Commit cb4fe48 didn't quite get the Python configury tests correct. This commit fixes several issues:

  • Move the AM_INIT_AUTOMAKE up before we call AM_PATH_PYTHON.

  • Since we converted a few Perl scripts to Python in a60b03b, we now always need Python to build Open MPI. Multiple Python scripts are invoked post-configure (i.e., reacting to configure results -- see a60b03b) to build the C and Fortran and MPI bindings.

  • Since we now always have Python, remove the OMPI_GENERATE_BINDINGS AM_CONDITIONAL.

  • Use the slightly-more-correct $(PYTHON) in Makefile.am (vs. $(python)).

jsquyres added 3 commits May 16, 2025 08:01
No code or logic changes

Signed-off-by: Jeff Squyres <[email protected]>
Ensure that we can still configure if there is no Fortran compiler.

Signed-off-by: Jeff Squyres <[email protected]>
Commit cb4fe48 didn't quite get the Python configury tests correct.
This commit fixes several issues:

* Move the AM_INIT_AUTOMAKE up before we call AM_PATH_PYTHON.

* Since we converted a few Perl scripts to Python in a60b03b, we now
  *always* need Python to build Open MPI.  Multiple Python scripts are
  invoked post-configure (i.e., reacting to configure results -- see
  a60b03b) to build the C and Fortran and MPI bindings.

* Since we now always have Python, remove the OMPI_GENERATE_BINDINGS
  AM_CONDITIONAL.

* Use the slightly-more-correct $(PYTHON) in Makefile.am
  (vs. $(python)).

Signed-off-by: Jeff Squyres <[email protected]>
@bosilca bosilca merged commit c66b0c7 into open-mpi:main May 16, 2025
18 checks passed
@jsquyres jsquyres deleted the pr/fix-the-python-configury-tests branch May 16, 2025 17:12
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