diff options
author | 2017-07-05 05:36:12 +0000 | |
---|---|---|
committer | 2017-07-05 05:36:12 +0000 | |
commit | b8f05a854d889c39fa052cb1905c34721acf17dd (patch) | |
tree | bebaed2c72f0aa850466b736fc60d86e28339d89 | |
parent | changed modules for repoman appeasement (diff) | |
download | gentoo-mpi-b8f05a854d889c39fa052cb1905c34721acf17dd.tar.gz gentoo-mpi-b8f05a854d889c39fa052cb1905c34721acf17dd.tar.bz2 gentoo-mpi-b8f05a854d889c39fa052cb1905c34721acf17dd.zip |
exporting BUILD_DIR per implementation
-rw-r--r-- | eclass/mpi-select-r1.eclass | 4 |
1 files changed, 4 insertions, 0 deletions
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 <michael.gilroy24@gmail.com> # @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 |