Drop the address space limit for tests in the makefile build.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 9 Dec 2012 10:34:22 +0000 (10:34 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 9 Dec 2012 10:34:22 +0000 (10:34 +0000)
The limit seems to break newer pythons (see PR13598) so just drop it for now.
Eventually lit should learn to set limits for its children instead of a global
limit in the makefile.

If some PPC bots fail after this change: That's a good thing, they actually run
clang tests now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169695 91177308-0d34-0410-b5e6-96231b3b80d8

test/Makefile

index 810fdded465a698830ee41ae328a2e5616869eae..4e690cc325e95674039a4f59d526f1ff4daf0f63 100644 (file)
@@ -78,8 +78,10 @@ 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 ;
+# Newer versions of python try to allocate an insane amount of address space for
+# its thread-local storage, don't set a limit here.
+# FIXME: Those limits should be enforced by lit instead of globally.
+ULIMIT=ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ;
 endif # AuroraUX
 endif # SunOS