Accepting request 202764 from devel:tools:compiler
- use %arm, not arm in arch conditions - add arm-remove-xfails.diff: remove XFAILs in testsuite that pass and thereby make check fail (forwarded request 202747 from dirkmueller) OBS-URL: https://build.opensuse.org/request/show/202764 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm?expand=0&rev=53
This commit is contained in:
commit
5c030176c9
29
arm-remove-xfails.diff
Normal file
29
arm-remove-xfails.diff
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
Those tests do not fail anymore, and unexpected passes
|
||||||
|
actually cause make check to fail. (dmueller@suse.com)
|
||||||
|
|
||||||
|
--- test/ExecutionEngine/2003-05-06-LivenessClobber.ll
|
||||||
|
+++ test/ExecutionEngine/2003-05-06-LivenessClobber.ll
|
||||||
|
@@ -1,7 +1,6 @@
|
||||||
|
; This testcase should return with an exit code of 1.
|
||||||
|
;
|
||||||
|
; RUN: not %lli %s
|
||||||
|
-; XFAIL: arm
|
||||||
|
|
||||||
|
@test = global i64 0 ; <i64*> [#uses=1]
|
||||||
|
|
||||||
|
--- test/ExecutionEngine/2003-08-15-AllocaAssertion.ll
|
||||||
|
+++ test/ExecutionEngine/2003-08-15-AllocaAssertion.ll
|
||||||
|
@@ -1,5 +1,4 @@
|
||||||
|
; RUN: %lli %s > /dev/null
|
||||||
|
-; XFAIL: arm
|
||||||
|
|
||||||
|
; This testcase failed to work because two variable sized allocas confused the
|
||||||
|
; local register allocator.
|
||||||
|
--- test/ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll
|
||||||
|
+++ test/ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll
|
||||||
|
@@ -1,5 +1,4 @@
|
||||||
|
; RUN: %lli %s > /dev/null
|
||||||
|
-; XFAIL: arm
|
||||||
|
|
||||||
|
; This testcase exposes a bug in the local register allocator where it runs out
|
||||||
|
; of registers (due to too many overlapping live ranges), but then attempts to
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 9 11:16:08 UTC 2013 - dmueller@suse.com
|
||||||
|
|
||||||
|
- use %arm, not arm in arch conditions
|
||||||
|
- add arm-remove-xfails.diff: remove XFAILs in testsuite
|
||||||
|
that pass and thereby make check fail
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 27 15:15:58 UTC 2013 - idonmez@suse.com
|
Fri Sep 27 15:15:58 UTC 2013 - idonmez@suse.com
|
||||||
|
|
||||||
|
10
llvm.spec
10
llvm.spec
@ -21,7 +21,7 @@
|
|||||||
%define _supported_archs "AArch64;ARM;PowerPC;X86"
|
%define _supported_archs "AArch64;ARM;PowerPC;X86"
|
||||||
%define _experimental_archs "R600"
|
%define _experimental_archs "R600"
|
||||||
|
|
||||||
%ifarch arm
|
%ifarch %arm
|
||||||
%define _supported_archs "ARM"
|
%define _supported_archs "ARM"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -62,6 +62,7 @@ Patch9: aarch64-suse-support.patch
|
|||||||
Patch10: llvm-no-visibility.patch
|
Patch10: llvm-no-visibility.patch
|
||||||
# PATCH-FIX-OPENSUSE llvm-disable-pretty-stack-trace.patch -- https://bugs.freedesktop.org/show_bug.cgi?id=60929
|
# PATCH-FIX-OPENSUSE llvm-disable-pretty-stack-trace.patch -- https://bugs.freedesktop.org/show_bug.cgi?id=60929
|
||||||
Patch11: llvm-disable-pretty-stack-trace.patch
|
Patch11: llvm-disable-pretty-stack-trace.patch
|
||||||
|
Patch12: arm-remove-xfails.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -174,6 +175,7 @@ This package contains vim plugins for LLVM like syntax highlighting.
|
|||||||
%patch10 -p1
|
%patch10 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch11 -p1
|
%patch11 -p1
|
||||||
|
%patch12
|
||||||
|
|
||||||
# We hardcode i586
|
# We hardcode i586
|
||||||
rm tools/clang/test/Driver/x86_features.c
|
rm tools/clang/test/Driver/x86_features.c
|
||||||
@ -193,11 +195,11 @@ sed -i s,/lib/,/%{_lib}/,g tools/clang/lib/Driver/Tools.cpp \
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Only enable target archs otherwise llvm-config is messed up
|
# Only enable target archs otherwise llvm-config is messed up
|
||||||
%ifnarch arm ppc64 s390x
|
%ifnarch %arm ppc64 s390x
|
||||||
sed -i s,"subdirectories = .*","subdirectories = AArch64 ARM PowerPC R600 X86", lib/Target/LLVMBuild.txt
|
sed -i s,"subdirectories = .*","subdirectories = AArch64 ARM PowerPC R600 X86", lib/Target/LLVMBuild.txt
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch arm
|
%ifarch %arm
|
||||||
sed -i s,"subdirectories = .*","subdirectories = ARM", lib/Target/LLVMBuild.txt
|
sed -i s,"subdirectories = .*","subdirectories = ARM", lib/Target/LLVMBuild.txt
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -292,7 +294,7 @@ cmake -G "Unix Makefiles" \
|
|||||||
-DLLVM_BINUTILS_INCDIR=/usr/include \
|
-DLLVM_BINUTILS_INCDIR=/usr/include \
|
||||||
%endif
|
%endif
|
||||||
-DLLVM_TARGETS_TO_BUILD=%{_supported_archs} \
|
-DLLVM_TARGETS_TO_BUILD=%{_supported_archs} \
|
||||||
%ifnarch arm ppc64 s390x
|
%ifnarch %arm ppc64 s390x
|
||||||
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=%{_experimental_archs} \
|
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=%{_experimental_archs} \
|
||||||
%endif
|
%endif
|
||||||
-DLLVM_BUILD_TESTS=OFF \
|
-DLLVM_BUILD_TESTS=OFF \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user