commit:     85c4f567a9f07f9075c864b636f9245ed600fc49
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Wed Oct 27 20:53:10 2021 +0000
Commit:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
CommitDate: Wed Oct 27 20:53:10 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=85c4f567

sci-physics/SU2: switch to EAPI-8. Enable MPI network tests

Use EAPI-8 option PROPERTIES="test_network" to enable
network testing that is required by MPI.

Closes: https://bugs.gentoo.org/820293

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 sci-physics/SU2/SU2-7.2.0.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/sci-physics/SU2/SU2-7.2.0.ebuild b/sci-physics/SU2/SU2-7.2.0.ebuild
index 32027c04f..8c0012dae 100644
--- a/sci-physics/SU2/SU2-7.2.0.ebuild
+++ b/sci-physics/SU2/SU2-7.2.0.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 PYTHON_COMPAT=( python3_{8..9} )
 
@@ -27,7 +27,13 @@ KEYWORDS="~amd64"
 # pastix is disabled as it's require additional external bundled libs;
 # autodiff (medi), directdiff (opti) features require additional external 
bundled libs.
 IUSE="cgns mkl +mpi mpp openblas parmetis tecio test tutorials"
+
+# Tests fail with FEATURES="network-sandbox" for most versions of openmpi and 
mpich it with error:
+# "No network interfaces were found for out-of-band communications.
+#  We require at least one available network for out-of-band messaging."
+PROPERTIES="test_network"
 RESTRICT="!test? ( test )"
+
 REQUIRED_USE="
        ${PYTHON_REQUIRED_USE}
        mkl? ( !openblas )

Reply via email to