fix(openmpi): restore openmpi-devel subpackages#17843
Open
miz060 wants to merge 3 commits into
Open
Conversation
Default OpenMPI builds back to split RPM mode so openmpi-devel is built locally instead of falling back to PMC. Add matching runtime dependencies for openmpi, openmpi-devels, and openmpi-docs. Signed-off-by: Mitch Zhu <mitchzhu@microsoft.com>
ellie-di
reviewed
Jun 29, 2026
| Requires: %{mpi_selector_rpm_name} | ||
| %endif | ||
| Requires: ucx | ||
| %if !%{build_all_in_one_rpm} |
Contributor
There was a problem hiding this comment.
could we just get rid of the build_all_in_one_rpm (assuming we want several sub-package RPMs)?
Member
Author
There was a problem hiding this comment.
good point. removed the build_all_in_one_rpm path
Always build OpenMPI as split runtime, devel, and docs RPMs. This restores the local openmpi-devel package needed by the golden container build. Signed-off-by: Mitch Zhu <mitchzhu@microsoft.com>
419450f to
b60c5e5
Compare
jslobodzian
approved these changes
Jun 29, 2026
Preserve the openmpi RPM while splitting devel and docs subpackages Signed-off-by: Mitch Zhu <mitchzhu@microsoft.com>
1abf9cd to
286a0e7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Remove the OpenMPI build_all_in_one_rpm switch and always build split RPMs: openmpi-runtime, openmpi-devel, and openmpi-docs. Also make openmpi, openmpi-devel, and openmpi-docs depend on the matching 3:4.1.9a1-2 openmpi-runtime package.
Why — fixes the openmpi golden-container failure after DOCA 3.3.0
After PR #17447 (kernel-hwe: Upgrade to 6.18.31.1 and doca to 3.3.0), the openmpi golden-container build started failing in the Build openmpi Container stage.
The golden-container recipe installs:
but the new DOCA OpenMPI spec defaulted to all-in-one packaging. That meant the local build no longer produced a matching openmpi-devel RPM, so the container build could resolve openmpi-devel from PMC instead, causing a version/dependency conflict with the locally built DOCA OpenMPI RPMs.
Root cause
The DOCA 3.3.0 OpenMPI spec changed the default:
With
build_all_in_one_rpm=1, the split runtime/devel/docs file packaging path is skipped by default. This regressed the previous Azure Linux behavior where openmpi-devel was built unconditionally.Fix
Remove the all-in-one switch and make split packaging unconditional. The spec now always emits:
Validation