Unverified Commit 7bf9a89c authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

folly: disable tests on exotic platforms (#404714)

parents 0cb41de0 9dbf4ac1
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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