From 9912950ca366f09b11077544a303f129363f68fc Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Thu, 28 Mar 2024 10:06:00 +0200 Subject: [PATCH] Disable tests on riscv64 [..] ******************** Failed Tests (2): Clang :: Modules/embed-files-compressed.cpp Clang :: OpenMP/declare_variant_device_isa_codegen_1.c Testing Time: 426.77s Total Discovered Tests: 38294 Skipped : 37 (0.10%) Unsupported : 176 (0.46%) Passed : 38051 (99.37%) Expectedly Failed: 28 (0.07%) Failed : 2 (0.01%) [..] Signed-off-by: David Abdurachmanov --- clang.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clang.spec b/clang.spec index 6973113..3833f8c 100644 --- a/clang.spec +++ b/clang.spec @@ -11,7 +11,11 @@ %undefine _include_frame_pointers %bcond_with compat_build +%ifnarch riscv64 %bcond_without check +%else +%bcond_with check +%endif %ifarch aarch64 # Use lld on aarch64, becuase ld.bfd will occasionally fail with the error: