[PATCH] D48398: [test-suite] Set the language standard for SPEC benchmarks that do not compile using the newest.
Michael Kruse via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 21 08:50:38 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL335248: [SPEC] Set the language standard to C++98. (authored by Meinersbur, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D48398?vs=152181&id=152314#toc
Repository:
rL LLVM
https://reviews.llvm.org/D48398
Files:
test-suite/trunk/External/SPEC/CFP2017rate/510.parest_r/CMakeLists.txt
test-suite/trunk/External/SPEC/CFP2017rate/526.blender_r/CMakeLists.txt
test-suite/trunk/External/SPEC/CINT2006/473.astar/CMakeLists.txt
Index: test-suite/trunk/External/SPEC/CINT2006/473.astar/CMakeLists.txt
===================================================================
--- test-suite/trunk/External/SPEC/CINT2006/473.astar/CMakeLists.txt
+++ test-suite/trunk/External/SPEC/CINT2006/473.astar/CMakeLists.txt
@@ -1,3 +1,5 @@
+list(APPEND CPPFLAGS -std=c++98)
+
macro(test_input run_type input output)
llvm_test_run(RUN_TYPE ${run_type}
${input}
Index: test-suite/trunk/External/SPEC/CFP2017rate/510.parest_r/CMakeLists.txt
===================================================================
--- test-suite/trunk/External/SPEC/CFP2017rate/510.parest_r/CMakeLists.txt
+++ test-suite/trunk/External/SPEC/CFP2017rate/510.parest_r/CMakeLists.txt
@@ -267,3 +267,4 @@
source/libparest/slave/stationary/state_discretization.cc
source/libparest/slave/stationary/synthetic_data.cc
)
+set_property(TARGET ${PROG} PROPERTY CXX_STANDARD 98)
Index: test-suite/trunk/External/SPEC/CFP2017rate/526.blender_r/CMakeLists.txt
===================================================================
--- test-suite/trunk/External/SPEC/CFP2017rate/526.blender_r/CMakeLists.txt
+++ test-suite/trunk/External/SPEC/CFP2017rate/526.blender_r/CMakeLists.txt
@@ -1206,4 +1206,5 @@
specrand/specrand.c
spec_backtrace.c
)
+set_property(TARGET ${PROG} PROPERTY CXX_STANDARD 98)
speccpu2017_prepare_rundir()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48398.152314.patch
Type: text/x-patch
Size: 1365 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180621/6d069e5f/attachment.bin>
More information about the llvm-commits
mailing list