From be434d6214afbf9ad7c172ade5fbe3a2eb8d8745cef6823438c74f905bc15f59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Fri, 14 Dec 2012 13:31:36 +0000 Subject: [PATCH] - 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/package/show/devel:tools:compiler/llvm?expand=0&rev=193 --- llvm.changes | 6 ++++++ llvm.spec | 5 ++++- python-ulimit.patch | 14 ++++++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 python-ulimit.patch diff --git a/llvm.changes b/llvm.changes index f528600..2a0da6e 100644 --- a/llvm.changes +++ b/llvm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/llvm.spec b/llvm.spec index ccb1e33..49593dd 100644 --- a/llvm.spec +++ b/llvm.spec @@ -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 @@ -139,6 +141,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 diff --git a/python-ulimit.patch b/python-ulimit.patch new file mode 100644 index 0000000..9a76c7d --- /dev/null +++ b/python-ulimit.patch @@ -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 +