[PATCH] D49487: [mips] Fix compile options for tramp3d-v4 test
Aleksandar Beserminji via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 1 09:22:56 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL338581: [mips] Fix compile options for tramp3d-v4 test (authored by abeserminji, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D49487?vs=158544&id=158553#toc
Repository:
rL LLVM
https://reviews.llvm.org/D49487
Files:
test-suite/trunk/MultiSource/Benchmarks/tramp3d-v4/CMakeLists.txt
test-suite/trunk/MultiSource/Benchmarks/tramp3d-v4/Makefile
Index: test-suite/trunk/MultiSource/Benchmarks/tramp3d-v4/Makefile
===================================================================
--- test-suite/trunk/MultiSource/Benchmarks/tramp3d-v4/Makefile
+++ test-suite/trunk/MultiSource/Benchmarks/tramp3d-v4/Makefile
@@ -14,6 +14,7 @@
# Mips needs a bit more compilation time when Mips64r6 and MSA are used
# together.
RUNTIMELIMIT := 700
+CPPFLAGS := "-mxgot"
endif
include ../../Makefile.multisrc
Index: test-suite/trunk/MultiSource/Benchmarks/tramp3d-v4/CMakeLists.txt
===================================================================
--- test-suite/trunk/MultiSource/Benchmarks/tramp3d-v4/CMakeLists.txt
+++ test-suite/trunk/MultiSource/Benchmarks/tramp3d-v4/CMakeLists.txt
@@ -6,5 +6,8 @@
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()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49487.158553.patch
Type: text/x-patch
Size: 965 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180801/cf42f9a8/attachment.bin>
More information about the llvm-commits
mailing list