Created attachment 252170 [details] git patch net/openmpi: Update to 5.0.4 - Update from 5.0.3 to 5.0.4 - Remove slurm from default options - Add docs to default options QA: portlint: OK poudriere: OK
DOCS is default option in ports framework.
Warning: you might not need LIB_DEPENDS on libze_loader.so Is it require libze_loader.so:devel/level-zero? Build fine without it.
Created attachment 252192 [details] git patch 2
(In reply to Vladimir Druzenko from comment #2) Good points. - Move level-zero support into a non-default option See also Bug 278869 - Remove OPTIONS_DEFAULT that's not needed for DOCS + IPV6
Why did you remove SLURM from default options? This option looks like it's useful to users.
(In reply to Vladimir Druzenko from comment #5) Because it's currently broken. See Bug 279777
configure: WARNING: unrecognized options: --with-ze And even more: level-zero used in romio, but --disable-io-romio disable romio: https://github.com/open-mpi/ompi/issues/9715
Created attachment 252201 [details] git patch 3 You're right that romio mpl is the only place where level zero is used. I couldn't pass on a flag to that configure level, so I removed the level zero dependency in a patch. I documented in the patch why level zero is disabled. With the patch it's possible to compile romio again, so I re-enabled it. It's now a (default) option, so that someone can disable it if they want. net/openmpi: Update to 5.0.4 - Update from 5.0.3 to 5.0.4 - Remove slurm from default options - Reinstate romio in default option - Remove level-zero dependency portlint: OK poudriere: OK
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ba6bf794a87e4c66dde92b57161e1fc6e58f7af9 commit ba6bf794a87e4c66dde92b57161e1fc6e58f7af9 Author: Laurent Chardon <laurent.chardon@gmail.com> AuthorDate: 2024-07-21 12:24:19 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-07-21 12:38:47 +0000 net/openmpi: update 5.0.3 → 5.0.4 - Remove slurm from default options - Reinstate romio in default option - Remove level-zero dependency Changelog: https://docs.open-mpi.org/en/v5.0.x/release-notes/changelog/v5.0.x.html#open-mpi-version-v5-0-4 PR: 280369 net/openmpi/Makefile | 53 +++++++++------------- net/openmpi/distinfo | 6 +-- .../patch-3rd-party_romio341_mpl_configure (new) | 12 +++++ net/openmpi/pkg-plist | 12 ++--- 4 files changed, 43 insertions(+), 40 deletions(-)
Thanks!
(In reply to Vladimir Druzenko from comment #10) Thanks for the extra pair of eyes and for the commit!