File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,9 @@ if(PROJECT_NAME STREQUAL "test-suite")
149
149
snap.reference_output
150
150
)
151
151
set (DIFFPROG_BASE %b/${FPCMP} )
152
+ if (FP_IGNOREWHITESPACE )
153
+ set (DIFFPROG_BASE "${DIFFPROG_BASE} -i" )
154
+ endif ()
152
155
set (FP_TOL_SUFFIX "-r ${FP_TOLERANCE} " )
153
156
set (FP_ABSTOL_SUFFIX "-a ${FP_ABSTOLERANCE} " )
154
157
set (DIFFPROG
Original file line number Diff line number Diff line change @@ -82,7 +82,8 @@ endif()
82
82
# Skip some tests that currently fail with flang on AArch64 when using libpgmath.
83
83
# FIXME: Reenable these tests after libpgmath is fixed or after we no longer
84
84
# depend on it.
85
- if (CMAKE_Fortran_COMPILER_ID STREQUAL "LLVMFlang" AND ARCH STREQUAL "AArch64" )
85
+ if (CMAKE_Fortran_COMPILER_ID STREQUAL "LLVMFlang"
86
+ AND (ARCH STREQUAL "AArch64" OR TARGET_OS STREQUAL "Windows" ))
86
87
# Regex because the GLOB returns the full path to each file
87
88
list (FILTER Source EXCLUDE REGEX "FM813\. f$" )
88
89
list (FILTER Source EXCLUDE REGEX "FM815\. f$" )
@@ -94,7 +95,9 @@ if (CMAKE_Fortran_COMPILER_ID STREQUAL "LLVMFlang" AND ARCH STREQUAL "AArch64")
94
95
endif ()
95
96
96
97
set (FP_TOLERANCE 1.0e-11 ) # set by the most sensitive numerical test
97
- set (FP_IGNOREWHITESPACE OFF )
98
+ if (NOT TARGET_OS STREQUAL "Windows" )
99
+ set (FP_IGNOREWHITESPACE OFF )
100
+ endif ()
98
101
llvm_singlesource ()
99
102
100
103
file (COPY lit.local.cfg DESTINATION "${CMAKE_CURRENT_BINARY_DIR} " )
You can’t perform that action at this time.
0 commit comments