diff options
-rw-r--r-- | eclass/mpi-select.eclass | 10 | ||||
-rw-r--r-- | sys-cluster/hpl/hpl-2.1.ebuild | 2 |
2 files changed, 9 insertions, 3 deletions
diff --git a/eclass/mpi-select.eclass b/eclass/mpi-select.eclass index dbd0642..0ed5db8 100644 --- a/eclass/mpi-select.eclass +++ b/eclass/mpi-select.eclass @@ -44,8 +44,14 @@ MPI_TARGETS="${MPI_TARGETS}" # List of dependcies needed for mpi software mpi_dependencies() { - # similar to mpi_pkg_deplist - echo "hit" + ret="" + local impl + + for impl in "${MPI_TARGETS}"; do + ret="${ret} sys-cluster/${impl}" + done + + echo "${ret}" } # @FUNCTION: get_mpicc diff --git a/sys-cluster/hpl/hpl-2.1.ebuild b/sys-cluster/hpl/hpl-2.1.ebuild index 1a788d4..f908cf0 100644 --- a/sys-cluster/hpl/hpl-2.1.ebuild +++ b/sys-cluster/hpl/hpl-2.1.ebuild @@ -15,7 +15,7 @@ KEYWORDS="~x86 ~amd64" IUSE="doc" RDEPEND=" - $(mpi_pkg_deplist) + $(mpi_dependencies) virtual/blas virtual/lapack" DEPEND="${RDEPEND} |