diff options
author | 2017-07-08 03:27:05 +0000 | |
---|---|---|
committer | 2017-07-08 03:27:05 +0000 | |
commit | 6951aeb2115fdff404f758c3a080e43742574cf5 (patch) | |
tree | b24557b65199e810cb4255d5dfb093bbee3afc60 | |
parent | provided better comments for existing helper functions (diff) | |
download | gentoo-mpi-6951aeb2115fdff404f758c3a080e43742574cf5.tar.gz gentoo-mpi-6951aeb2115fdff404f758c3a080e43742574cf5.tar.bz2 gentoo-mpi-6951aeb2115fdff404f758c3a080e43742574cf5.zip |
set up initial dependencies function
-rw-r--r-- | eclass/mpi-select.eclass | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/eclass/mpi-select.eclass b/eclass/mpi-select.eclass index 17f93fc..caced64 100644 --- a/eclass/mpi-select.eclass +++ b/eclass/mpi-select.eclass @@ -53,6 +53,19 @@ get_all_implemenetations() echo "${INSTALLED_IMPLEMENTATIONS}" } +mpi_dependencies() +{ + ret="" + + # TODO: verify each ${impl} in MPI_TARGETS exists + for impl in ${MPI_TARGETS} + do + ret="${ret} ${impl}" + done + + echo "${ret}" +} + # @ECLASS-FUNCTION: mpi_foreach_implementation # @DESCRIPTION: # Iterates through each given implementation and repeats commands for each implementation |