@@ -14,27 +14,24 @@ caf_compile_executable(get_with_vector_index get_with_vector_index.f90)
14
14
15
15
## Pure send() tests
16
16
caf_compile_executable (send_array send_array_test.f90 )
17
+ if (NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7.0.0 )
18
+ caf_compile_executable (send_convert_nums send_convert_nums.f90 )
19
+ endif ()
17
20
caf_compile_executable (send_with_vector_index send_with_vector_index.f90 )
18
21
19
22
# Pure sendget() tests
20
23
caf_compile_executable (sendget_convert_char_array sendget_convert_char_array.f90 )
24
+ if (NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7.0.0 )
25
+ caf_compile_executable (sendget_convert_nums sendget_convert_nums.f90 )
26
+ endif ()
21
27
caf_compile_executable (send_convert_char_array send_convert_char_array.f90 )
22
28
#caf_compile_executable(sendget_with_vector_index sendget_with_vector_index.f90)
23
29
caf_compile_executable (strided_sendget strided_sendget.f90 )
24
30
set_target_properties (build_strided_sendget
25
31
PROPERTIES MIN_IMAGES 3 )
26
32
27
- if (gfortran_compiler AND (NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7.3.0 ))
28
- caf_compile_executable (sendget_convert_nums sendget_convert_nums.f90 )
29
- caf_compile_executable (send_convert_nums send_convert_nums.f90 )
33
+ # Allocatable components w/ convert
34
+ if ((NOT (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7.0.0 )) OR (CAF_RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER} ))
30
35
caf_compile_executable (alloc_comp_get_convert_nums alloc_comp_get_convert_nums.f90 )
31
36
caf_compile_executable (alloc_comp_send_convert_nums alloc_comp_send_convert_nums.f90 )
32
- elseif ((CAF_RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER} ))
33
- message ( AUTHOR_WARNING
34
- "Skipping building the following tests due to GFortran < 7.3.0 lack of compatibility:
35
- sendget_convert_nums.f90
36
- send_convert_nums.f90"
37
- )
38
-
39
37
endif ()
40
-
0 commit comments