- Add compiler_rt-r196612.patch to fix ubsan failures on i586
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=316
This commit is contained in:
committed by
Git OBS Bridge
parent
54c989d240
commit
6b56e8e731
11
llvm.spec
11
llvm.spec
@@ -45,6 +45,7 @@ Patch8: aarch64-suse-support.patch
|
||||
Patch9: arm-remove-xfails.diff
|
||||
# PATCH-FIX-OPENSUSE asan-disable-hugemalloctest.patch -- Disable ASAN HugeMallocTest
|
||||
Patch10: asan-disable-hugemalloctest.patch
|
||||
Patch11: compiler_rt-r196612.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
@@ -167,6 +168,9 @@ This package contains the Python bindings to clang (C language) frontend for LLV
|
||||
%patch8 -p1
|
||||
%patch9
|
||||
%patch10 -p1
|
||||
pushd projects/compiler-rt
|
||||
%patch11
|
||||
popd
|
||||
|
||||
# We hardcode i586
|
||||
rm tools/clang/test/Driver/x86_features.c
|
||||
@@ -295,6 +299,13 @@ cmake -G "Unix Makefiles" \
|
||||
make %{?_smp_mflags} VERBOSE=1
|
||||
|
||||
%check
|
||||
%if %{ix86}
|
||||
# These tests are 64bit only
|
||||
for i in basic custom flags fncall propagate; do
|
||||
rm projects/compiler-rt/lib/dfsan/lit_tests/$i.c;
|
||||
done
|
||||
%endif
|
||||
|
||||
cd stage2
|
||||
%ifnarch armv7hl armv7l
|
||||
%if 0%{!?qemu_user_space_build:1}
|
||||
|
Reference in New Issue
Block a user