sys-cluster/hpx: Sync live ebuild
authorKurt Kanzenbach <kurt@kmk-computers.de>
Fri, 27 Mar 2020 11:45:47 +0000 (12:45 +0100)
committerJoonas Niilola <juippis@gentoo.org>
Sat, 28 Mar 2020 14:21:17 +0000 (16:21 +0200)
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-9999.ebuild

index 5abc3de483fb1f044b481ab043f490bc1da73434..25019566f3924b2b6f4c4bc97e84157e919ec553 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 )
@@ -77,6 +78,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)