diff options
author | 2017-07-08 03:21:39 +0000 | |
---|---|---|
committer | 2017-07-08 03:21:39 +0000 | |
commit | 650bfe249e60896e4315271d6840ee6f5840be10 (patch) | |
tree | e0bd6596ad92eeca3d908f96c09ae16ea57678b5 | |
parent | gcc 5 needs cflags and flag-o-matic inherit (diff) | |
download | gentoo-mpi-650bfe249e60896e4315271d6840ee6f5840be10.tar.gz gentoo-mpi-650bfe249e60896e4315271d6840ee6f5840be10.tar.bz2 gentoo-mpi-650bfe249e60896e4315271d6840ee6f5840be10.zip |
provided better comments for existing helper functions
-rw-r--r-- | eclass/mpi-select-r1.eclass | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/eclass/mpi-select-r1.eclass b/eclass/mpi-select-r1.eclass index 78ebe94..078dbc2 100644 --- a/eclass/mpi-select-r1.eclass +++ b/eclass/mpi-select-r1.eclass @@ -96,6 +96,9 @@ mpi_foreach_implementation() echo "${status}" } +# @ECLASS-FUNCTION: mpi_wrapper +# @DESCRIPTION: +# Helper function for setting up environment mpi_wrapper() { export BUILD_DIR="${PF}-${ABI}" @@ -103,26 +106,42 @@ mpi_wrapper() echo ${impl} } +# @ECLASS-FUNCTION: mpi-select_get_implementation +# @DESCRIPTION: +# Helper function for getting the current implementation in use mpi-select_get_implementation() { echo "${PN}" } +# @ECLASS-FUNCTION: mpi-select_bindir +# @DESCRIPTION: +# Helper function for getting the directory for binaries to be installed to mpi-select_bindir() { echo "${D}/usr/bin/${PF}/" } +# @ECLASS-FUNCTION: mpi-select_libdir +# @DESCRIPTION: +# Helper function for getting the directory for libraries to be installed to mpi-select_libdir() { echo "${D}/usr/$(get_libdir)/${PF}/" } +# @ECLASS-FUNCTION: mpi-select_etcdir +# @DESCRIPTION: +# Helper function for getting the directory for /etc* to be installed to mpi-select_etcdir() { echo "${D}/etc/${PF}/" } +########################### +# MPI SRC PHASE FUNCTIONS # +########################### + mpi_src_configure() { append-cflags -std=gnu89 |