include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi")
foreach(test alltoallvf
- # allredint8f allredopttf alltoallwf
- exscanf inplacef
- # nonblockingf nonblocking_inpf
- redscatf red_scat_blockf reducelocalf
- split_typef uallreducef vw_inplacef)
+ allredint8f allredopttf alltoallwf
+ exscanf inplacef
+ nonblockingf nonblocking_inpf
+ redscatf red_scat_blockf reducelocalf
+ split_typef uallreducef vw_inplacef)
add_executable(${test} EXCLUDE_FROM_ALL ${test}.f)
add_dependencies(tests ${test})
target_link_libraries(${test} simgrid mtest_f77)
endforeach()
endif()
+# These test seem to not compile with gfortran 10 for now, so work around that bug that is not ours
+if((CMAKE_Fortran_COMPILER_ID MATCHES "GNU") AND (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "9.99"))
+ set_property(SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/inplacef.f" PROPERTY COMPILE_FLAGS -fallow-argument-mismatch)
+endif()
+
set(examples_src
${examples_src}
${CMAKE_CURRENT_SOURCE_DIR}/allredint8f.f