sys-cluster/hpx: Add MPI support
authorKurt Kanzenbach <kurt@kmk-computers.de>
Fri, 27 Mar 2020 11:45:02 +0000 (12:45 +0100)
committerJoonas Niilola <juippis@gentoo.org>
Sat, 28 Mar 2020 14:21:17 +0000 (16:21 +0200)
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@kmk-computers.de>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
sys-cluster/hpx/hpx-1.4.1.ebuild

index dd34133656ee7d7bb28d13eada14c8a7d9316ad1..9a3dc2abc7633c6be03c0032d4081be526779edf 100644 (file)
@@ -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)