File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -646,7 +646,12 @@ if(opencoarrays_aware_compiler)
646646 add_caf_test(register_vector 2 register_vector)
647647 add_caf_test(register_alloc_vector 2 register_alloc_vector)
648648 add_caf_test(allocate_as_barrier 2 allocate_as_barrier)
649- add_caf_test(allocate_as_barrier_proc 8 allocate_as_barrier_proc)
649+ if (gfortran_compiler AND (NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7.0.0) OR (CAF_RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER} ))
650+ if ( CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7.0.0 )
651+ message ( AUTHOR_WARNING "Developer tests requested and GFortran < 7: test allocate_as_barrier_proc may fail" )
652+ endif ()
653+ add_caf_test(allocate_as_barrier_proc 8 allocate_as_barrier_proc)
654+ endif ()
650655 if (gfortran_compiler AND (NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7.0.0) OR (CAF_RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER} ))
651656 message ( STATUS "Allocatable components of coarray derived types only supported in GFortran >= 7 with OpenCoarrays > 1.8.4" )
652657 message ( STATUS "(but full support not anticipated until OpenCoarrays 2.0 release)" )
You can’t perform that action at this time.
0 commit comments