[PATCH] D59612: [test-suite][mips] Fix compile options for tramp3d-v4 test

Simon Atanasyan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 24 11:26:57 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL356863: [test-suite][mips] Fix compile options for tramp3d-v4 test (authored by atanasyan, committed by ).
Herald added a project: LLVM.

Changed prior to commit:
  https://reviews.llvm.org/D59612?vs=191896&id=192038#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59612/new/

https://reviews.llvm.org/D59612

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
@@ -10,7 +10,7 @@
 endif
 FP_ABSTOLERANCE :=  0.0000001
 
-ifeq ($(ARCH),Mips)
+ifeq (-mabi=n64, $(findstring -mabi=n64, $(TARGET_FLAGS)))
 # Mips needs a bit more compilation time when Mips64r6 and MSA are used
 # together.
 RUNTIMELIMIT := 700
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
@@ -5,7 +5,7 @@
 else()
   set(RUN_OPTIONS --cartvis 1.0 0.0 --rhomin 1e-8 -n 10 --domain 32 32 32)
 endif()
-if("${ARCH}" STREQUAL "Mips")
+if(MIPS_IS_MIPS64_ENABLED)
 	list(APPEND CXXFLAGS -mxgot)
 endif()
 set(FP_ABSTOLERANCE 0.0000001)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59612.192038.patch
Type: text/x-patch
Size: 1030 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190324/ac00f5f6/attachment.bin>


More information about the llvm-commits mailing list