diff options
Diffstat (limited to 'eclass/mpi-select-r1.eclass')
-rw-r--r-- | eclass/mpi-select-r1.eclass | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/eclass/mpi-select-r1.eclass b/eclass/mpi-select-r1.eclass index 76a4c5b..12e7105 100644 --- a/eclass/mpi-select-r1.eclass +++ b/eclass/mpi-select-r1.eclass @@ -59,8 +59,6 @@ mpi_foreach_implementation() local status=0 - export BUILD_DIR="${PF}-${ABI}" - for implementation in "${@}" do # iterate through implementations, repeat same commands for each variant @@ -92,6 +90,15 @@ mpi_foreach_implementation() echo "${status}" } +mpi_wrapper() +{ + export BUILD_DIR="${PF}-${ABI}" + + impl="$(grep -R MPI_TARGETS* /etc/portage/make.conf* | cut -d '\"' -f2)" + + echo ${impl} +} + mpi-select_get_implementation() { echo "${PN}" |