forked from pool/llvm14
- Expect s390x failures only on Tumbleweed.
- Make sure we drop -g for stage 1. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=18
This commit is contained in:
parent
18d98014e4
commit
a533a95d72
@ -659,7 +659,7 @@ mv libcxxabi-%{_version}.src projects/libcxxabi
|
||||
# hardening. The problem is in sanitizers from compiler-rt.
|
||||
# 2) Remove the -g. We don't want it in stage1 and it will be added by cmake in
|
||||
# the following stage.
|
||||
%global cleaned_flags %(echo %{optflags} | sed 's/-D_FORTIFY_SOURCE=./-D_FORTIFY_SOURCE=0/;s/\B-g\b//g')
|
||||
%global cleaned_flags %(echo %{optflags} | sed 's/-D_FORTIFY_SOURCE=./-D_FORTIFY_SOURCE=0/;s/\\B-g\\b//g')
|
||||
|
||||
%global flags %{cleaned_flags}
|
||||
%ifarch armv6hl
|
||||
@ -1161,8 +1161,10 @@ python3 bin/llvm-lit -sv test/
|
||||
|
||||
# On s390x, this test complains that a required pass couldn't be found and then crashes. (FIXME)
|
||||
sed -i '/XFAIL/i// XFAIL: s390x' ../tools/clang/test/CodeGen/sanitize-coverage-old-pm.c
|
||||
%if 0%{?suse_version} > 1500
|
||||
# We're not getting the exact crash dump that was expected. Not sure why, input is cut off.
|
||||
sed -i '1i// XFAIL: s390x' ../tools/clang/test/Driver/{crash-{diagnostics-dir.c,report-header.h,report-spaces.c},rewrite-map-in-diagnostics.c}
|
||||
%endif
|
||||
# On ppc, this test fails with "fatal error: error in backend: Relocation type not implemented yet!"
|
||||
sed -i '/UNSUPPORTED/i// XFAIL: powerpc-' ../tools/clang/test/Interpreter/execute.cpp
|
||||
# Tests hang on armv6l.
|
||||
|
Loading…
Reference in New Issue
Block a user