From 9be70d9ad13edc388bea9649ecbfecd32c08d6ae Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Thu, 17 Jul 2025 14:33:11 +0200 Subject: [PATCH] llvmPackages.llvm: drop a test on loongarch64 --- pkgs/development/compilers/llvm/common/llvm/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/compilers/llvm/common/llvm/default.nix b/pkgs/development/compilers/llvm/common/llvm/default.nix index 519de80c8f8e..2a8f8f169eab 100644 --- a/pkgs/development/compilers/llvm/common/llvm/default.nix +++ b/pkgs/development/compilers/llvm/common/llvm/default.nix @@ -519,6 +519,14 @@ stdenv.mkDerivation ( # Fails in sandbox substituteInPlace unittests/Support/LockFileManagerTest.cpp --replace-fail "Basic" "DISABLED_Basic" '' + + + # https://github.com/llvm/llvm-project/issues/149616 + optionalString stdenv.hostPlatform.isLoongArch64 '' + substituteInPlace unittests/tools/llvm-exegesis/X86/SnippetRepetitorTest.cpp \ + --replace-fail \ + "TEST_F(X86SnippetRepetitorTest, Loop)" \ + "TEST_F(X86SnippetRepetitorTest, DISABLED_Loop)" + '' + '' patchShebangs test/BugPoint/compile-custom.ll.py ''