Skip to content

Commit ac171d5

Browse files
authored
Auto pulldown and update tc files for xmain branch
Auto pulldown and update tc files for xmain branch on 20220818
2 parents 6aca0ac + b5d702a commit ac171d5

File tree

683 files changed

+4209
-3256
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

683 files changed

+4209
-3256
lines changed

External/SPEC/CINT2006/401.bzip2/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,7 @@ test_input(ref data/all/input/input.program 280 input.program.out)
2121
test_input(ref data/ref/input/text.html 280 text.html.out)
2222
test_input(ref data/all/input/input.combined 200 input.combined.out)
2323

24+
25+
list(APPEND CFLAGS -Wno-int-conversion)
2426
llvm_test_executable(401.bzip2 ${Source})
2527
llvm_test_data_spec_default(401.bzip2)

Fortran/UnitTests/fcvs21_f95/CMakeLists.txt

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,17 @@ llvm_test_prepare(rm -f %S/fort.*)
3535

3636
# Group 1:
3737
# Tests 905 and 907 use list-directed output, for which the standard allows some
38-
# flexibility, e.g., with regards to how many white space characters or
38+
# flexibility, e.g., with regards to how many white space characters or
3939
# floating point decimals to print. Treat them separately.
40+
# FIXME: Reenable these tests after moving the buildbots from using
41+
# flang-to-external-fc to using flang-new.
4042
set(SPECIAL_CASES "FM905.f" "FM907.f")
41-
set(Source ${SPECIAL_CASES})
42-
set(FP_IGNOREWHITESPACE ON)
43-
llvm_singlesource()
44-
set(Source)
43+
if (NOT CMAKE_Fortran_COMPILER_ID STREQUAL "LLVMFlang")
44+
set(Source ${SPECIAL_CASES})
45+
set(FP_IGNOREWHITESPACE ON)
46+
llvm_singlesource()
47+
set(Source)
48+
endif()
4549

4650
# Group 2:
4751
# Generic case. Make sure to exclude the special cases which have already been
@@ -61,6 +65,20 @@ else()
6165
list(FILTER Source EXCLUDE REGEX "FM509\.f$")
6266
endif()
6367

68+
# Skip some tests that currently fail with flang on AArch64 when using libpgmath.
69+
# FIXME: Reenable these tests after libpgmath is fixed or after we no longer
70+
# depend on it.
71+
if (CMAKE_Fortran_COMPILER_ID STREQUAL "LLVMFlang" AND ARCH STREQUAL "AArch64")
72+
# Regex because the GLOB returns the full path to each file
73+
list(FILTER Source EXCLUDE REGEX "FM813\.f$")
74+
list(FILTER Source EXCLUDE REGEX "FM815\.f$")
75+
list(FILTER Source EXCLUDE REGEX "FM817\.f$")
76+
list(FILTER Source EXCLUDE REGEX "FM820\.f$")
77+
list(FILTER Source EXCLUDE REGEX "FM828\.f$")
78+
list(FILTER Source EXCLUDE REGEX "FM831\.f$")
79+
list(FILTER Source EXCLUDE REGEX "FM833\.f$")
80+
endif()
81+
6482
set(FP_TOLERANCE 1.0e-11) # set by the most sensitive numerical test
6583
set(FP_IGNOREWHITESPACE OFF)
6684
llvm_singlesource()

MultiSource/Applications/Burg/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
list(APPEND CPPFLAGS -DDEBUG)
2-
list(APPEND CFLAGS -std=gnu89)
2+
list(APPEND CFLAGS -std=gnu89 -Wno-int-conversion)
33
set(RUN_OPTIONS < sample.gr)
44

55
include_directories(${CMAKE_CURRENT_BINARY_DIR})

MultiSource/Applications/Burg/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ LEVEL = ../../..
22

33
PROG = burg
44
CPPFLAGS = -DDEBUG
5-
CFLAGS += -std=gnu89
5+
CFLAGS += -std=gnu89 -Wno-int-conversion
66
LDFLAGS = -lstdc++
77

88
STDIN_FILENAME = $(PROJ_SRC_DIR)/sample.gr

MultiSource/Applications/siod/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
list(APPEND CPPFLAGS -D__USE_MISC -D__USE_GNU -D__USE_SVID -D__USE_XOPEN_EXTENDED -D__USE_XOPEN -Dunix)
2-
list(APPEND CFLAGS -Wno-implicit-function-declaration -Wno-implicit-int)
2+
list(APPEND CFLAGS -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion)
33
list(APPEND LDFLAGS -lm)
44
set(RUN_OPTIONS -v1 test.scm)
55
llvm_multisource(siod)

MultiSource/Applications/siod/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
LEVEL = ../../..
22
PROG = siod
33
CPPFLAGS = -D__USE_MISC -D__USE_GNU -D__USE_SVID -D__USE_XOPEN_EXTENDED -D__USE_XOPEN -Dunix
4-
CFLAGS += -Wno-implicit-function-declaration -Wno-implicit-int
4+
CFLAGS += -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion
55
LDFLAGS = -lm $(TOOLLINKOPTS)
66

77
RUN_OPTIONS = -v1 $(PROJ_SRC_DIR)/test.scm
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
list(APPEND CFLAGS -Wno-int-conversion)
12
list(APPEND LDFLAGS -lm)
23
llvm_multisource(assembler)

MultiSource/Benchmarks/Prolangs-C/assembler/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ LEVEL = ../../../..
22

33
PROG = assembler
44
LDFLAGS = -lm
5+
CFLAGS += -Wno-int-conversion
56
include $(LEVEL)/MultiSource/Makefile.multisrc
67

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
list(APPEND CFLAGS -Wno-implicit-function-declaration -Wno-implicit-int)
1+
list(APPEND CFLAGS -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion)
22
set(RUN_OPTIONS parse.y.in -v)
33
llvm_multisource(mybison)
44
llvm_test_data(mybison parse.y.in)

MultiSource/Benchmarks/Prolangs-C/bison/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
LEVEL = ../../../..
22

3-
CFLAGS += -Wno-implicit-function-declaration -Wno-implicit-int
3+
CFLAGS += -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion
44

55
PROG = mybison
66
RUN_OPTIONS = $(PROJ_SRC_DIR)/parse.y.in -v

0 commit comments

Comments
 (0)