diff options
author | Michael Gilroy <michael.gilroy24@gmail.com> | 2017-07-22 03:47:59 -0600 |
---|---|---|
committer | Michael Gilroy <michael.gilroy24@gmail.com> | 2017-07-22 03:47:59 -0600 |
commit | 3a93b8b773bd03c3559cfa20e451645789032a17 (patch) | |
tree | 289fa6d2ea5b5e0e083673f97b19b56a4baa52dc | |
parent | dependencies now include version of (diff) | |
download | gentoo-mpi-3a93b8b773bd03c3559cfa20e451645789032a17.tar.gz gentoo-mpi-3a93b8b773bd03c3559cfa20e451645789032a17.tar.bz2 gentoo-mpi-3a93b8b773bd03c3559cfa20e451645789032a17.zip |
added version checking
-rw-r--r-- | eclass/mpi-select.eclass | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/eclass/mpi-select.eclass b/eclass/mpi-select.eclass index a4efd1b..8f31dcf 100644 --- a/eclass/mpi-select.eclass +++ b/eclass/mpi-select.eclass @@ -47,7 +47,9 @@ mpi_dependencies() local impl ret for impl in "${MPI_TARGETS}"; do - ret="${ret} >=sys-cluster/${impl}" + if has_version ">=sys-cluster/${impl}"; then + ret="${ret} >=sys-cluster/${impl}" + fi done echo "${ret}" @@ -193,14 +195,6 @@ mpi-select_etcdir() echo "${D}/etc/${PF}/" } -validate_mpi_targets() -{ - for impl in $MPI_TARGETS; do - einfo "hit targets function!" - # compare against has_version - done -} - ########################### # MPI SRC PHASE FUNCTIONS # ########################### |