Bug 272949 - net/py-mpi4py: add a slave port depending on MPICH
Summary: net/py-mpi4py: add a slave port depending on MPICH
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Thierry Thomas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-04 21:22 UTC by Thierry Thomas
Modified: 2023-08-05 08:32 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (wen)


Attachments
Add a slave port depending on MPICH (3.53 KB, patch)
2023-08-04 21:22 UTC, Thierry Thomas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thomas freebsd_committer freebsd_triage 2023-08-04 21:22:17 UTC
Created attachment 243847 [details]
Add a slave port depending on MPICH

Sometimes we need mpi4py packaged against mpich, with Fortran enabled.
    
Do not create a flavor, because there already exist flavors for Python versions, therefore a slave port seems more appropriate.
    
Once committed, I shall add a line in Mk/Uses/mpi.mk to grab the right dependency according to the choice of MPI.
    
Bump PORTVERSION for people using net/py-mpi4py built from ports with the non-default MPICH option.
    
Also change WWW: the project on bitbucket has been archived.
Comment 1 Wen Heping freebsd_committer freebsd_triage 2023-08-04 22:06:08 UTC
Approved. Please go ahead !
Comment 2 Thierry Thomas freebsd_committer freebsd_triage 2023-08-05 08:31:57 UTC
Committed, thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-08-05 08:32:34 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6d82be95de6c9dee7264b2b349823bd31a58e943

commit 6d82be95de6c9dee7264b2b349823bd31a58e943
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2023-08-04 21:05:10 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2023-08-05 08:20:45 +0000

    net/py-mpi4py: add a slave port depending on MPICH

    Sometimes we need mpi4py packaged against mpich, with Fortran enabled.

    Do not create a flavor, because there already exist flavors for Python
    versions, therefore a slave port seems more appropriate.

    Once committed, I shall add a line in Mk/Uses/mpi.mk to grab the right
    dependency according to the choice of MPI.

    Bump PORTVERSION for people using net/py-mpi4py built from ports with
    the non-default MPICH option.

    Also change WWW: the project on bitbucket has been archived.

    PR:             272949
    Approved by:    wen@ (maintainer)

 net/Makefile                       |  1 +
 net/py-mpi4py-mpich/Makefile (new) | 11 +++++++++++
 net/py-mpi4py/Makefile             | 28 ++++++++++++++++------------
 3 files changed, 28 insertions(+), 12 deletions(-)