From ddcb591be59ae925b85a66ccd5965a2aaa54e4a5 Mon Sep 17 00:00:00 2001 From: sin-ack Date: Sat, 23 Nov 2024 21:56:11 +0000 Subject: [PATCH] dev-cpp/folly: skip a test on system-libcxx systems This test aborts with something about a threading-related assert in Folly. Signed-off-by: sin-ack Closes: https://github.com/gentoo/gentoo/pull/39437 Signed-off-by: Sam James --- dev-cpp/folly/folly-2024.11.04.00-r2.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dev-cpp/folly/folly-2024.11.04.00-r2.ebuild b/dev-cpp/folly/folly-2024.11.04.00-r2.ebuild index 44a95b28d09a8..d861968c92429 100644 --- a/dev-cpp/folly/folly-2024.11.04.00-r2.ebuild +++ b/dev-cpp/folly/folly-2024.11.04.00-r2.ebuild @@ -13,7 +13,7 @@ EAPI=8 # dev-cpp/wangle # dev-util/watchman -inherit flag-o-matic cmake +inherit flag-o-matic cmake toolchain-funcs DESCRIPTION="An open-source C++ library developed and used at Facebook" HOMEPAGE="https://github.com/facebook/folly" @@ -101,5 +101,13 @@ src_test() { ) fi + if [[ $(tc-get-cxx-stdlib) == libc++ ]]; then + CMAKE_SKIP_TESTS+=( + # Aborts with libc++. + # https://github.com/facebook/folly/issues/2345 + buffered_atomic_test.BufferedAtomic.singleThreadUnguardedAccess + ) + fi + cmake_src_test }