summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Zander <negril.nx+gentoo@gmail.com>2024-09-08 18:56:26 +0200
committerSam James <sam@gentoo.org>2024-09-08 18:15:49 +0100
commit60170e6ac00beac1291c3590dbe7e01d00764b01 (patch)
tree5c2fa350fbfcf86037b0ac64d230fb11a1bc3da1 /dev-cpp/abseil-cpp/abseil-cpp-20240116.2-r4.ebuild
parentdev-libs/xapian-bindings: add 1.4.26 (diff)
downloadgentoo-60170e6ac00beac1291c3590dbe7e01d00764b01.tar.gz
gentoo-60170e6ac00beac1291c3590dbe7e01d00764b01.tar.bz2
gentoo-60170e6ac00beac1291c3590dbe7e01d00764b01.zip
dev-cpp/abseil-cpp: fix building on ppc
Link in `atomic` on ppc. Disable failing test. Closes: https://bugs.gentoo.org/918981 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/abseil-cpp/abseil-cpp-20240116.2-r4.ebuild')
-rw-r--r--dev-cpp/abseil-cpp/abseil-cpp-20240116.2-r4.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-cpp/abseil-cpp/abseil-cpp-20240116.2-r4.ebuild b/dev-cpp/abseil-cpp/abseil-cpp-20240116.2-r4.ebuild
index 4b8e434135ba..22b35c6f3d53 100644
--- a/dev-cpp/abseil-cpp/abseil-cpp-20240116.2-r4.ebuild
+++ b/dev-cpp/abseil-cpp/abseil-cpp-20240116.2-r4.ebuild
@@ -37,6 +37,8 @@ PATCHES=(
src_prepare() {
cmake_src_prepare
+ use ppc && eapply "${FILESDIR}/${PN}-atomic-patch"
+
# un-hardcode abseil compiler flags
sed -i \
-e '/"-maes",/d' \
@@ -72,6 +74,12 @@ multilib_src_test() {
CMAKE_SKIP_TESTS=(
absl_symbolize_test
)
+
+ if use ppc; then
+ CMAKE_SKIP_TESTS+=(
+ absl_failure_signal_handler_test
+ )
+ fi
fi
cmake_src_test