From b8f05a854d889c39fa052cb1905c34721acf17dd Mon Sep 17 00:00:00 2001 From: Michael Gilroy Date: Wed, 5 Jul 2017 05:36:12 +0000 Subject: exporting BUILD_DIR per implementation --- eclass/mpi-select-r1.eclass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eclass/mpi-select-r1.eclass b/eclass/mpi-select-r1.eclass index b23c1c0..76a4c5b 100644 --- a/eclass/mpi-select-r1.eclass +++ b/eclass/mpi-select-r1.eclass @@ -6,6 +6,8 @@ # Michael Gilroy # @BLURB: Allow mpi software to select mpi implementation of choice. +inherit multilib + EXPORT_FUNCTIONS src_configure src_compile src_test src_install case ${EAPI:-0} in @@ -57,6 +59,8 @@ mpi_foreach_implementation() local status=0 + export BUILD_DIR="${PF}-${ABI}" + for implementation in "${@}" do # iterate through implementations, repeat same commands for each variant -- cgit v1.2.3-65-gdbad