Skip to content

Commit 4b482df

Browse files
committed
[SPEC2000] Disable Wimplicit-int, set CXX standard to fix build errors.
This should make CINT2000/CPF2000 build again with recent Clang builds.
1 parent edc9be6 commit 4b482df

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

External/SPEC/CFP2000/188.ammp/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
list(APPEND CFLAGS -Wno-implicit-int)
2+
13
macro(test_input run_type)
24
llvm_test_run(RUN_TYPE ${run_type}
35
WORKDIR %S/data/${run_type}/input

External/SPEC/CINT2000/252.eon/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ endif()
55
list(APPEND CXXFLAGS -fno-exceptions -Wno-deprecated -fpermissive)
66
list(APPEND LDFLAGS -lm)
77

8+
set(CMAKE_CXX_STANDARD 14)
9+
810
include_directories(${BENCHMARK_DIR}/src)
911

1012
# There's more sourcefiles in the directory than necessary so enumerate the ones

External/SPEC/CINT2000/255.vortex/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
list(APPEND LDFLAGS -lm)
2+
list(APPEND CFLAGS -Wno-implicit-int)
23

34
macro(test_input run_type input outfile)
45
llvm_test_run(RUN_TYPE ${run_type}

External/SPEC/CINT2000/300.twolf/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
list(APPEND CPPFLAGS -DHAVE_SIGNED_CHAR)
22
list(APPEND LDFLAGS -lm)
33
list(APPEND CFLAGS -Wno-return-type -fcommon)
4+
list(APPEND CFLAGS -Wno-implicit-int)
45

56
macro(test_input run_type)
67
llvm_test_run(RUN_TYPE ${run_type}

0 commit comments

Comments
 (0)