diff options
author | Michael Gilroy <michael.gilroy24@gmail.com> | 2017-07-21 04:25:00 -0600 |
---|---|---|
committer | Michael Gilroy <michael.gilroy24@gmail.com> | 2017-07-21 04:25:00 -0600 |
commit | e5d6ff6f4a4d17f93847988611072d4e40769c58 (patch) | |
tree | 84e0be6fde2fac23baf8004a6f88b9cbf3adf0b4 | |
parent | statically defining mpicc path for testing (diff) | |
download | gentoo-mpi-e5d6ff6f4a4d17f93847988611072d4e40769c58.tar.gz gentoo-mpi-e5d6ff6f4a4d17f93847988611072d4e40769c58.tar.bz2 gentoo-mpi-e5d6ff6f4a4d17f93847988611072d4e40769c58.zip |
new dependencies function
-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} |