From 756f9d89d051a60ace348583a4960d5dc741868a Mon Sep 17 00:00:00 2001 From: Michael Gilroy Date: Thu, 29 Jun 2017 07:15:37 +0000 Subject: removed *_implentation_install. testing _mpi_run --- eclass/mpi-select.eclass | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/eclass/mpi-select.eclass b/eclass/mpi-select.eclass index 7d67aac..3083505 100644 --- a/eclass/mpi-select.eclass +++ b/eclass/mpi-select.eclass @@ -32,23 +32,6 @@ INSTALLED_IMPLEMENTATIONS=get_all_implementations # Location in which mpi software should be installed MPI_DIR="/usr/$(get_libdir)/mpi" -# @ECLASS-FUNCTION: mpi-select_implementation_install -# @DESCRIPTION: -# Install MPI software with arbitrary implementations -mpi-select_implementation_install() -{ - # IGNORE THIS FOR NOW - for implementation in "$@" - do - if [[ "${installed}" == *"${implementation}"* ]]; then - mpi-select_src_configure "${implementation}" - mpi-select_src_compile "${implementation}" - mpi-select_src_install "${implementation}" - else - die "invalid implementation" - fi - done -} # @ECLASS-FUNCTION: mpi-select_detect_installs # @DESCRIPTION: # See what MPI software is installed on the system @@ -79,6 +62,7 @@ mpi_foreach_implementation() # iterate through implementations, repeat same commands for each variant if [[ "${IMPLEMENTATION_LIST}" == *"${implementation}"* ]]; then local BUILD_DIR="${WORKDIR}/build" + einfo ${BUILD_DIR} # modeling after multibuild for testing & learning _mpi_run() @@ -92,6 +76,8 @@ mpi_foreach_implementation() einfo ${@} echo ${@} } + + _mpi_run "${@}" else die "invalid implementation!" fi -- cgit v1.2.3-65-gdbad