Accepting request 145515 from devel:tools:compiler
With the fixes below we have a fully functional llvm/clang on PPC64 - Disable compilation on PPC, only PPC64 is supported. - Add python-ulimit.patch: Don't set a limit on address space. This enables us running tests on PowerPC. OBS-URL: https://build.opensuse.org/request/show/145515 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm?expand=0&rev=38
This commit is contained in:
commit
9eec143f0f
11
llvm.changes
11
llvm.changes
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 14 18:13:40 UTC 2012 - idonmez@suse.com
|
||||
|
||||
- Disable compilation on PPC, only PPC64 is supported.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 14 13:18:39 UTC 2012 - idonmez@suse.com
|
||||
|
||||
- Add python-ulimit.patch: Don't set a limit on address space.
|
||||
This enables us running tests on PowerPC.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 12 11:08:16 UTC 2012 - idonmez@suse.com
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
%define _revision 169678
|
||||
%define _release_version 3.2
|
||||
%define _supported_archs "arm,x86"
|
||||
%define _supported_archs "arm,powerpc,x86"
|
||||
|
||||
Name: llvm
|
||||
Version: 3.1.99.r%{_revision}
|
||||
@ -42,6 +42,8 @@ Patch5: llvm-config-lib64.patch
|
||||
Patch6: arm_suse_support.diff
|
||||
# PATCH-FIX-OPENSUSE disable_neon_in_armv7.diff -- Disable use of neon in armv7 openSUSE
|
||||
Patch7: disable_neon_in_armv7.diff
|
||||
# PATCH-FIX-UPSTREAM python-ulimit.patch Upstream r169695
|
||||
Patch8: python-ulimit.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
@ -63,6 +65,8 @@ BuildRequires: libffi-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: python-base
|
||||
BuildRequires: python-sphinx
|
||||
# llvm does not work on ppc, only ppc64
|
||||
ExcludeArch: ppc
|
||||
|
||||
%description
|
||||
LLVM is a compiler infrastructure designed for compile-time,
|
||||
@ -139,6 +143,7 @@ This package contains vim plugins for LLVM like syntax highlighting.
|
||||
%ifarch armv7l armv7hl
|
||||
%patch7 -p0
|
||||
%endif
|
||||
%patch8 -p1
|
||||
|
||||
# We hardcode i586
|
||||
rm tools/clang/test/Driver/x86_features.c
|
||||
|
14
python-ulimit.patch
Normal file
14
python-ulimit.patch
Normal file
@ -0,0 +1,14 @@
|
||||
Index: llvm/test/Makefile
|
||||
===================================================================
|
||||
--- llvm.orig/test/Makefile
|
||||
+++ llvm/test/Makefile
|
||||
@@ -78,8 +78,7 @@ else # !SunOS
|
||||
ifeq ($(HOST_OS),AuroraUX)
|
||||
ULIMIT=ulimit -t 600 ; ulimit -d 512000 ; ulimit -v 512000 ;
|
||||
else # !AuroraUX
|
||||
-# Fedora 13 x86-64 python fails with -v 76800
|
||||
-ULIMIT=ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; ulimit -v 1024000 ;
|
||||
+ULIMIT=ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ;
|
||||
endif # AuroraUX
|
||||
endif # SunOS
|
||||
|
Loading…
Reference in New Issue
Block a user