commit:     55f7252382771c3b782c11a4f85830337ee351d4
Author:     sin-ack <sin-ack <AT> protonmail <DOT> com>
AuthorDate: Tue Nov 12 11:27:24 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 14:00:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55f72523

dev-cpp/folly: fix build on arm64

Some Folly tests require lax vector conversions (e.g. 'uint8x8_t' to
'uint64x1_t') to build.

Signed-off-by: sin-ack <sin-ack <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{folly-2024.11.04.00.ebuild => folly-2024.11.04.00-r1.ebuild}    | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-cpp/folly/folly-2024.11.04.00.ebuild 
b/dev-cpp/folly/folly-2024.11.04.00-r1.ebuild
similarity index 93%
rename from dev-cpp/folly/folly-2024.11.04.00.ebuild
rename to dev-cpp/folly/folly-2024.11.04.00-r1.ebuild
index 27be95cd3414..e55339ec78a5 100644
--- a/dev-cpp/folly/folly-2024.11.04.00.ebuild
+++ b/dev-cpp/folly/folly-2024.11.04.00-r1.ebuild
@@ -13,7 +13,7 @@ EAPI=8
 # dev-cpp/wangle
 # dev-util/watchman
 
-inherit cmake
+inherit flag-o-matic cmake
 
 DESCRIPTION="An open-source C++ library developed and used at Facebook"
 HOMEPAGE="https://github.com/facebook/folly";
@@ -75,6 +75,9 @@ src_configure() {
                -DCMAKE_LIBRARY_ARCHITECTURE=$(usex amd64 x86_64 ${ARCH})
        )
 
+       # https://github.com/facebook/folly/issues/1984
+       use arm64 && append-cxxflags "-flax-vector-conversions"
+
        cmake_src_configure
 }
 

Reply via email to