[test-suite] r261398 - cmake: Some benchmarks need more stack than the iOS default
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 19 19:21:01 PST 2016
Author: matze
Date: Fri Feb 19 21:21:00 2016
New Revision: 261398
URL: http://llvm.org/viewvc/llvm-project?rev=261398&view=rev
Log:
cmake: Some benchmarks need more stack than the iOS default
Modified:
test-suite/trunk/External/SPEC/CINT2000/176.gcc/CMakeLists.txt
test-suite/trunk/External/SPEC/CINT2006/403.gcc/CMakeLists.txt
test-suite/trunk/External/SPEC/CINT2006/483.xalancbmk/CMakeLists.txt
test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/CMakeLists.txt
Modified: test-suite/trunk/External/SPEC/CINT2000/176.gcc/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/CINT2000/176.gcc/CMakeLists.txt?rev=261398&r1=261397&r2=261398&view=diff
==============================================================================
--- test-suite/trunk/External/SPEC/CINT2000/176.gcc/CMakeLists.txt (original)
+++ test-suite/trunk/External/SPEC/CINT2000/176.gcc/CMakeLists.txt Fri Feb 19 21:21:00 2016
@@ -2,6 +2,7 @@ if(ENDIAN STREQUAL "big")
list(APPEND CPPFLAGS -DHOST_WORDS_BIG_ENDIAN)
endif()
if(TARGET_OS STREQUAL "Darwin")
+ # Necessary for iOS
list(APPEND LDFLAGS -Xlinker -stack_size -Xlinker 0x800000)
endif()
list(APPEND CFLAGS -std=gnu89)
Modified: test-suite/trunk/External/SPEC/CINT2006/403.gcc/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/CINT2006/403.gcc/CMakeLists.txt?rev=261398&r1=261397&r2=261398&view=diff
==============================================================================
--- test-suite/trunk/External/SPEC/CINT2006/403.gcc/CMakeLists.txt (original)
+++ test-suite/trunk/External/SPEC/CINT2006/403.gcc/CMakeLists.txt Fri Feb 19 21:21:00 2016
@@ -4,6 +4,11 @@ include(TestBigEndian)
if(IS_BIGENDIAN)
list(APPEND CPPFLAGS -DHOST_WORDS_BIG_ENDIAN)
endif()
+if(TARGET_OS STREQUAL "Darwin")
+ # Necessary for iOS
+ list(APPEND LDFLAGS -Xlinker -stack_size -Xlinker 0x8000000)
+endif()
+list(APPEND CPPFLAGS -DPOSIX -DSPEC_CPU_HAVE_BOOL)
macro(test_input run_type ifile sfile)
llvm_test_run(RUN_TYPE ${run_type}
Modified: test-suite/trunk/External/SPEC/CINT2006/483.xalancbmk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/CINT2006/483.xalancbmk/CMakeLists.txt?rev=261398&r1=261397&r2=261398&view=diff
==============================================================================
--- test-suite/trunk/External/SPEC/CINT2006/483.xalancbmk/CMakeLists.txt (original)
+++ test-suite/trunk/External/SPEC/CINT2006/483.xalancbmk/CMakeLists.txt Fri Feb 19 21:21:00 2016
@@ -22,6 +22,10 @@ include_directories(
${BENCHMARK_DIR}/src/xercesc/util/Transcoders/Iconv
${BENCHMARK_DIR}/src/xalanc/include
)
+if(TARGET_OS STREQUAL "Darwin")
+ # Necessary for iOS
+ list(APPEND LDFLAGS -Xlinker -stack_size -Xlinker 0x8000000)
+endif()
macro(test_input run_type input output)
llvm_test_run(RUN_TYPE ${run_type}
Modified: test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Shootout-C%2B%2B/CMakeLists.txt?rev=261398&r1=261397&r2=261398&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/CMakeLists.txt (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/CMakeLists.txt Fri Feb 19 21:21:00 2016
@@ -11,6 +11,10 @@ if(DEFINED BENCHMARKING_ONLY)
list(APPEND PROGRAMS_TO_SKIP hello reversefile spellcheck sumcol wc wordfreq)
endif()
list(APPEND LDFLAGS -lstdc++)
+if(TARGET_OS STREQUAL "Darwin")
+ # Necessary for ackermann on iOS
+ list(APPEND LDFLAGS -Xlinker -stack_size -Xlinker 0x800000)
+endif()
llvm_singlesource()
llvm_add_subdirectories(EH)
More information about the llvm-commits
mailing list