commit: ddcb591be59ae925b85a66ccd5965a2aaa54e4a5 Author: sin-ack <sin-ack <AT> protonmail <DOT> com> AuthorDate: Sat Nov 23 21:56:11 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Dec 1 11:45:51 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddcb591b
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 <sin-ack <AT> protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/39437 Signed-off-by: Sam James <sam <AT> gentoo.org> 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 44a95b28d09a..d861968c9242 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 }
