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")
10
10
set (portland_group_compiler true )
11
11
endif ()
12
12
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
-
29
13
if (gfortran_compiler AND (NOT opencoarrays_aware_compiler ))
30
14
# This applied to gfortran 4.9 and some earlier versions (FIX ME: find out which)
31
15
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")
2
2
set (gfortran_compiler true )
3
3
endif ()
4
4
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
-
21
5
if ("${gfortran_compiler} " AND (NOT "${opencoarrays_aware_compiler} " ))
22
6
# This applied to gfortran 4.9 and some earlier versions (TODO: find out which)
23
7
add_definitions (-DCOMPILER_SUPPORTS_CAF_INTRINSICS )
You can’t perform that action at this time.
0 commit comments