diff options
Diffstat (limited to 'dev-cpp/edencommon/edencommon-2024.11.04.00.ebuild')
-rw-r--r-- | dev-cpp/edencommon/edencommon-2024.11.04.00.ebuild | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/dev-cpp/edencommon/edencommon-2024.11.04.00.ebuild b/dev-cpp/edencommon/edencommon-2024.11.04.00.ebuild index c53780c9b1f9..feba00c2add7 100644 --- a/dev-cpp/edencommon/edencommon-2024.11.04.00.ebuild +++ b/dev-cpp/edencommon/edencommon-2024.11.04.00.ebuild @@ -13,7 +13,7 @@ EAPI=8 # dev-cpp/wangle # dev-util/watchman -inherit cmake +inherit cmake toolchain-funcs DESCRIPTION="Shared library for Watchman and Eden projects" HOMEPAGE="https://github.com/facebookexperimental/edencommon" @@ -21,7 +21,7 @@ SRC_URI="https://github.com/facebookexperimental/edencommon/archive/refs/tags/v$ LICENSE="MIT" SLOT="0/${PV}" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" IUSE="llvm-libunwind" RDEPEND=" @@ -31,7 +31,7 @@ RDEPEND=" ~dev-cpp/fb303-${PV}:= ~dev-cpp/wangle-${PV}:= ~dev-cpp/fbthrift-${PV}:= - llvm-libunwind? ( sys-libs/llvm-libunwind:= ) + llvm-libunwind? ( llvm-runtimes/libunwind:= ) !llvm-libunwind? ( sys-libs/libunwind:= ) " DEPEND=" @@ -47,3 +47,15 @@ src_configure() { cmake_src_configure } + +src_test() { + CMAKE_SKIP_TESTS=() + + # This test fails on GCC 13. + # https://github.com/facebookexperimental/edencommon/issues/22 + if tc-is-gcc && ver_test $(gcc-version) -lt 14.0.0; then + CMAKE_SKIP_TESTS+=(PathFuncs.move_or_copy) + fi + + cmake_src_test +} |