commit: 8a4ee23dab12892aa93bbb9b3b66ff5763771547
Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 27 00:37:45 2016 +0000
Commit: Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Mon Aug 29 16:47:03 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=8a4ee23d
mpi.eclass: block multilib mpi from gx86 (bug #519700)
eclass/mpi.eclass | 3 +++
1 file changed, 3 insertions(+)
diff --git a/eclass/mpi.eclass b/eclass/mpi.eclass
index b7ace33..3c20101 100644
--- a/eclass/mpi.eclass
+++ b/eclass/mpi.eclass
@@ -56,6 +56,9 @@ mpi_classed() {
[[ ${CATEGORY} == mpi-* ]]
}
+#empi has no support for multilib yet
+mpi_classed && [[ ${_MULTILIB_BUILD} ]] && REQUIRED_USE="abi_x86_64? (
!abi_x86_32 )"
+
# @FUNCTION: mpi_class
# @RETURN: The name of the current class, or nothing if unclassed.
mpi_class() {