Fix packaging and testsuite failures

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2024-10-11 12:51:51 +03:00
parent 1e40359703
commit 7b8806da39
Signed by: davidlt
GPG Key ID: 7A5F42FAF91FACC3
2 changed files with 18 additions and 1 deletions

View File

@ -88,8 +88,12 @@ export LIT_XFAIL="$LIT_XFAIL;clang/test/CodeGen/profile-filter.c"
%ifarch riscv64 %ifarch riscv64
export LIT_XFAIL="$LIT_XFAIL;clang/test/OpenMP/declare_variant_device_isa_codegen_1.c" export LIT_XFAIL="$LIT_XFAIL;clang/test/OpenMP/declare_variant_device_isa_codegen_1.c"
export LIT_XFAIL="$LIT_XFAIL;OpenMP/declare_variant_device_isa_codegen_1.c"
test_list_filter_out+=("Clang :: OpenMP/declare_variant_device_isa_codegen_1.c")
%endif %endif
export LIT_FILTER_OUT=$(test_list_to_regex test_list_filter_out)
%cmake_build --target check-clang || true %cmake_build --target check-clang || true
#endregion #endregion
@ -251,6 +255,19 @@ export LIT_XFAIL="$LIT_XFAIL;offloading/thread_state_1.c"
export LIT_XFAIL="$LIT_XFAIL;offloading/thread_state_2.c" export LIT_XFAIL="$LIT_XFAIL;offloading/thread_state_2.c"
%endif %endif
%ifarch riscv64
export LIT_XFAIL="$LIT_XFAIL;affinity/kmp-affinity.c"
export LIT_XFAIL="$LIT_XFAIL;affinity/kmp-hw-subset.c"
export LIT_XFAIL="$LIT_XFAIL;affinity/omp-places.c"
export LIT_XFAIL="$LIT_XFAIL;ompt/misc/control_tool.c"
export LIT_XFAIL="$LIT_XFAIL;ompt/synchronization/barrier/explicit.c"
export LIT_XFAIL="$LIT_XFAIL;ompt/synchronization/critical.c"
export LIT_XFAIL="$LIT_XFAIL;ompt/synchronization/flush.c"
export LIT_XFAIL="$LIT_XFAIL;ompt/synchronization/ordered.c"
export LIT_XFAIL="$LIT_XFAIL;ompt/synchronization/taskgroup.c"
export LIT_XFAIL="$LIT_XFAIL;ompt/synchronization/taskwait.c"
%endif
export LIT_FILTER_OUT=$(test_list_to_regex test_list_filter_out) export LIT_FILTER_OUT=$(test_list_to_regex test_list_filter_out)
%cmake_build --target check-openmp || true %cmake_build --target check-openmp || true

View File

@ -552,7 +552,7 @@
%{_prefix}/lib/clang/%{maj_ver}/lib/%{compiler_rt_triple}/clang_rt.crtend.o %{_prefix}/lib/clang/%{maj_ver}/lib/%{compiler_rt_triple}/clang_rt.crtend.o
%endif %endif
%ifnarch %{ix86} s390x %ifnarch %{ix86} s390x riscv64
%{_prefix}/lib/clang/%{maj_ver}/lib/%{compiler_rt_triple}/liborc_rt.a %{_prefix}/lib/clang/%{maj_ver}/lib/%{compiler_rt_triple}/liborc_rt.a
%endif %endif