From nobody Sat Aug 05 08:31:52 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RHwmS4cB2z4TpjZ; Sat, 5 Aug 2023 08:31:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RHwmS40HSz4pfJ; Sat, 5 Aug 2023 08:31:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691224312; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5wH7I2u5CbVXn50+snGmElWrDy2PlcUiN+w+yQWAIlc=; b=tt/fKNkvsD/lNW6kG87cdX501M8Keu1rji7XkWV39XTWG3o8wKDG6HHxGpBI0yl6xKwJef rsOkUH7H1wx7gzlfWEHoossTqb1JGRSsJwDM1LyPLNlth35+W40dI1UUSJP9irxTF/2c+L RDcnOvgCy40zaQjeFQK2Dpfe2iVp3UVCU3KbW1KOJ7PRHHQj0RMtsRN1ZYw7fAFJG+Yf9k 3F7IK/rSJvJDegLTl4oPTPOSerGCV2oe/4ASaH/5UrvDp34tW9zWXsErWaEIN6B0h6Ujnk zUlHg2sbqIT0zcKQPGpT3AoFRylEPNx/h6Q4xKjnim5+RHSlG2+16MEfN4Xvpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691224312; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5wH7I2u5CbVXn50+snGmElWrDy2PlcUiN+w+yQWAIlc=; b=T4bA1s9j/e0LQW7jfdSJd39j4Wogp5DXtwic8eGB7SXmWc91qARmGhAyuW+vqtc/zJcswJ l4EvjlsT/u0a4nMimchRuzFafRgdEKEVUWdPMohm4xVpUPvZigyq9Tam4ozldrCfaXaapB iyB+z7LUSRNpZLCTm3uQLtMkmdxPbS10kWTi3+tGm2fyj+ksMeJ4rALYLk+Kgtkt8FvPtc 1IM7QNvP9tiarlmg1qPOgq15weGx4OejMDIOj7kpcoCk4rJjA2E+nsfmu2ncz/oCtYpZQM TFbO5nqVZrn8UYYUboG+lHRbwipPfJKjMlDxUpvuJaIvB4DTRsGC7hV/6D+pgA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691224312; a=rsa-sha256; cv=none; b=XesEqtKIT1y3Jx0WO317ZMdo6z8pf8kE+rjDsDXU8w/PT5B2eEBUTGUIk6QhLS9Nz1Do0l woqGscDx5ipe929TZy+YAX6p27NLgn8EQ4dNGs36yQOcnnoT5sv8LpHGLYDOhD7xbqx0lE EwXaUVdwq/8OZW8PUFRzh7PN+ZwyPxe4Lq27OcroqKd2hqHrCQF8bG36w7HyiczB3AvRZ8 5yNTlk3/QL4ZtzH9VWmy3shogBWsofjhnxU04oMdJTsyIau2wofVq0ravt537eWDnPJp1K 4zLVHdpJjxDWuRYedsMSEOZpYPAiGpWLtzZ+3/dHkusATXV6m1MAG/20nDb7xg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RHwmS34hDz7c1; Sat, 5 Aug 2023 08:31:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3758VqjR040332; Sat, 5 Aug 2023 08:31:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3758Vql6040331; Sat, 5 Aug 2023 08:31:52 GMT (envelope-from git) Date: Sat, 5 Aug 2023 08:31:52 GMT Message-Id: <202308050831.3758Vql6040331@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Thierry Thomas Subject: git: 52f03d7d32cb - main - Mk/Uses/mpi.mk: add MPI4PY, a helper to get the right dependency on mpi4py List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 52f03d7d32cb8b9485555809796c8ebfe362ca00 Auto-Submitted: auto-generated The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=52f03d7d32cb8b9485555809796c8ebfe362ca00 commit 52f03d7d32cb8b9485555809796c8ebfe362ca00 Author: Thierry Thomas AuthorDate: 2023-08-05 08:28:49 +0000 Commit: Thierry Thomas CommitDate: 2023-08-05 08:28:49 +0000 Mk/Uses/mpi.mk: add MPI4PY, a helper to get the right dependency on mpi4py --- Mk/Uses/mpi.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mk/Uses/mpi.mk b/Mk/Uses/mpi.mk index 29c417ce62f8..770e9d375f19 100644 --- a/Mk/Uses/mpi.mk +++ b/Mk/Uses/mpi.mk @@ -31,6 +31,7 @@ USES+= pkgconfig LIB_DEPENDS+= libmpich.so:net/mpich MPI_HOME= ${LOCALBASE} MPI_LIBS+= `pkgconf --libs mpich` +MPI4PY= ${PYTHON_PKGNAMEPREFIX}mpi4py-mpich>0:net/py-mpi4py-mpich@${PY_FLAVOR} . if ${USES:Mfortran} MPI_LIBS+= -lmpifort MPIFC= ${MPI_HOME}/bin/mpif90 @@ -40,6 +41,7 @@ MPI_CFLAGS+= `pkgconf --cflags mpich` . elif ${mpi_ARGS} == openmpi LIB_DEPENDS+= libmpi_cxx.so:net/openmpi MPI_HOME= ${LOCALBASE}/mpi/openmpi +MPI4PY= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR} . if ${USES:Mfortran} MPI_LIBS+= `pkgconf --libs ompi-fort` MPIFC= ${MPI_HOME}/bin/mpif90