Skip to content

Commit 2126d7b

Browse files
authored
[Flang][Windows] Don't try to run Unix-specific tests on Windows (#392)
Some of these recently added tests call functions only available in POSIX, and also assume that the linker accepts -fopenmp. These won't work on Windows, so we shouldn't attempt to build or run them there.
1 parent 2af6edd commit 2126d7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Fortran/cray/OpenMP/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
if(OPENMP_FOUND)
1+
if(OPENMP_FOUND AND NOT WIN32)
22
add_subdirectory(5.0)
33
endif()

0 commit comments

Comments
 (0)