[test-suite] r338581 - [mips] Fix compile options for tramp3d-v4 test
Aleksandar Beserminji via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 1 09:22:32 PDT 2018
Author: abeserminji
Date: Wed Aug 1 09:22:32 2018
New Revision: 338581
URL: http://llvm.org/viewvc/llvm-project?rev=338581&view=rev
Log:
[mips] Fix compile options for tramp3d-v4 test
Add -mxgot to CPP flags, because for this test, GOT grows larger than 64k.
Differential Revision: https://reviews.llvm.org/D49487
Modified:
test-suite/trunk/MultiSource/Benchmarks/tramp3d-v4/CMakeLists.txt
test-suite/trunk/MultiSource/Benchmarks/tramp3d-v4/Makefile
Modified: test-suite/trunk/MultiSource/Benchmarks/tramp3d-v4/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/tramp3d-v4/CMakeLists.txt?rev=338581&r1=338580&r2=338581&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/tramp3d-v4/CMakeLists.txt (original)
+++ test-suite/trunk/MultiSource/Benchmarks/tramp3d-v4/CMakeLists.txt Wed Aug 1 09:22:32 2018
@@ -6,5 +6,8 @@ if(SMALL_PROBLEM_SIZE)
else()
set(RUN_OPTIONS --cartvis 1.0 0.0 --rhomin 1e-8 -n 10 --domain 32 32 32)
endif()
+if("${ARCH}" STREQUAL "Mips")
+ list(APPEND CXXFLAGS -mxgot)
+endif()
set(FP_ABSTOLERANCE 0.0000001)
llvm_multisource()
Modified: test-suite/trunk/MultiSource/Benchmarks/tramp3d-v4/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/tramp3d-v4/Makefile?rev=338581&r1=338580&r2=338581&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/tramp3d-v4/Makefile (original)
+++ test-suite/trunk/MultiSource/Benchmarks/tramp3d-v4/Makefile Wed Aug 1 09:22:32 2018
@@ -14,6 +14,7 @@ ifeq ($(ARCH),Mips)
# Mips needs a bit more compilation time when Mips64r6 and MSA are used
# together.
RUNTIMELIMIT := 700
+CPPFLAGS := "-mxgot"
endif
include ../../Makefile.multisrc
More information about the llvm-commits
mailing list