File tree Expand file tree Collapse file tree 2 files changed +0
-32
lines changed Expand file tree Collapse file tree 2 files changed +0
-32
lines changed Original file line number Diff line number Diff line change @@ -10,22 +10,6 @@ elseif("${CMAKE_Fortran_COMPILER_ID}" STREQUAL "PGI")
1010 set (portland_group_compiler true )
1111endif ()
1212
13- if (NOT CMAKE_VERSION VERSION_LESS 3.3.1)
14- # Detect Fortran compiler version directly
15- if (gfortran_compiler AND (NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 5))
16- set (opencoarrays_aware_compiler true )
17- else ()
18- set (opencoarrays_aware_compiler false )
19- endif ()
20- else ()
21- # Use the C compiler version as a proxy for the Fortran compiler version (won't work with NAG)
22- if (gfortran_compiler AND (NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 5))
23- set (opencoarrays_aware_compiler true )
24- else ()
25- set (opencoarrays_aware_compiler false )
26- endif ()
27- endif ()
28-
2913if (gfortran_compiler AND (NOT opencoarrays_aware_compiler))
3014 # This applied to gfortran 4.9 and some earlier versions (FIX ME: find out which)
3115 add_definitions (-DCOMPILER_SUPPORTS_CAF_INTRINSICS)
Original file line number Diff line number Diff line change @@ -2,22 +2,6 @@ if("${CMAKE_Fortran_COMPILER_ID}" STREQUAL "GNU")
22 set (gfortran_compiler true )
33endif ()
44
5- if (NOT CMAKE_VERSION VERSION_LESS 3.3.1)
6- # Detect Fortran compiler version directly
7- if (gfortran_compiler AND (NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 5.1))
8- set (opencoarrays_aware_compiler true )
9- else ()
10- set (opencoarrays_aware_compiler false )
11- endif ()
12- else ()
13- # Use the C compiler version as a proxy for the Fortran compiler version (won't work with NAG)
14- if (gfortran_compiler AND (NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 5.1))
15- set (opencoarrays_aware_compiler true )
16- else ()
17- set (opencoarrays_aware_compiler false )
18- endif ()
19- endif ()
20-
215if ("${gfortran_compiler} " AND (NOT "${opencoarrays_aware_compiler} " ))
226 # This applied to gfortran 4.9 and some earlier versions (TODO: find out which)
237 add_definitions (-DCOMPILER_SUPPORTS_CAF_INTRINSICS)
You can’t perform that action at this time.
0 commit comments