commit:     eb059b0f66712f66d35afe148aa14941b61926a4
Author:     Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de>
AuthorDate: Fri Mar 27 11:45:02 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Mar 28 14:21:17 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb059b0f

sys-cluster/hpx: Add MPI support

hpx supports MPI as well. Add support for it.

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Kurt Kanzenbach <kurt <AT> kmk-computers.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sys-cluster/hpx/hpx-1.4.1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/hpx/hpx-1.4.1.ebuild b/sys-cluster/hpx/hpx-1.4.1.ebuild
index dd34133656e..9a3dc2abc76 100644
--- a/sys-cluster/hpx/hpx-1.4.1.ebuild
+++ b/sys-cluster/hpx/hpx-1.4.1.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://stellar.cct.lsu.edu/tag/hpx/";
 
 SLOT="0"
 LICENSE="Boost-1.0"
-IUSE="doc examples jemalloc papi +perftools tbb test"
+IUSE="doc examples jemalloc mpi papi +perftools tbb test"
 RESTRICT="!test? ( test )"
 
 REQUIRED_USE="
@@ -45,6 +45,7 @@ RDEPEND="
        dev-libs/boost:=
        sys-apps/hwloc
        sys-libs/zlib
+       mpi? ( virtual/mpi )
        papi? ( dev-libs/papi )
        perftools? ( dev-util/google-perftools )
        tbb? ( dev-cpp/tbb )
@@ -83,6 +84,7 @@ src_configure() {
        local mycmakeargs=(
                -DHPX_WITH_EXAMPLES=OFF
                -DHPX_WITH_DOCUMENTATION=$(usex doc)
+               -DHPX_WITH_PARCELPORT_MPI=$(usex mpi)
                -DHPX_WITH_PAPI=$(usex papi)
                -DHPX_WITH_GOOGLE_PERFTOOLS=$(usex perftools)
                -DBUILD_TESTING=$(usex test)

Reply via email to