folly: disable tests on exotic platforms (#404714)

This commit is contained in:
Aleksana
2025-05-14 21:26:28 +08:00
committed by GitHub
+7 -1
View File
@@ -116,7 +116,13 @@ stdenv.mkDerivation (finalAttrs: {
]
);
doCheck = true;
# https://github.com/facebook/folly/blob/main/folly/DiscriminatedPtr.h
# error: #error "DiscriminatedPtr is x64, arm64, ppc64 and riscv64 specific code."
doCheck =
stdenv.hostPlatform.isx86_64
|| stdenv.hostPlatform.isAarch64
|| stdenv.hostPlatform.isPower64
|| stdenv.hostPlatform.isRiscV64;
patches = [
# The base template for std::char_traits has been removed in LLVM 19