sys-cluster/opencoarrays: fix install '*.a' without static-libs USE

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

Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
This commit is contained in:
Sergey Torokhov
2023-05-27 23:29:04 +03:00
parent fd1dbc562b
commit 34ee96ad9d
3 changed files with 27 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ KEYWORDS="~amd64 ~x86"
# 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."
IUSE="test"
IUSE="static-libs test"
PROPERTIES="test_network"
RESTRICT="!test? ( test )"
@@ -43,3 +43,11 @@ src_configure() {
cmake_src_configure
}
src_install() {
cmake_src_install
if ! use static-libs ; then
find "${ED}" -name '*.a' -delete || die # Bug 901423
fi
}

View File

@@ -23,7 +23,7 @@ KEYWORDS="~amd64 ~x86"
# 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."
IUSE="test"
IUSE="static-libs test"
PROPERTIES="test_network"
RESTRICT="!test? ( test )"
@@ -46,3 +46,11 @@ src_configure() {
cmake_src_configure
}
src_install() {
cmake_src_install
if ! use static-libs ; then
find "${ED}" -name '*.a' -delete || die # Bug 901423
fi
}

View File

@@ -23,7 +23,7 @@ KEYWORDS="~amd64 ~x86"
# 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."
IUSE="test"
IUSE="static-libs test"
PROPERTIES="test_network"
RESTRICT="!test? ( test )"
@@ -43,3 +43,11 @@ src_configure() {
cmake_src_configure
}
src_install() {
cmake_src_install
if ! use static-libs ; then
find "${ED}" -name '*.a' -delete || die # Bug 901423
fi
}