File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ string(REGEX REPLACE "-rc[0-9]+$"
8383 "${OpenCoarraysVersion} " )
8484
8585project (opencoarrays VERSION "${OPENCOARRAYS_CMAKE_PROJECT_VERSION} " LANGUAGES C Fortran)
86+
8687message ( STATUS "Building OpenCoarrays version: ${full_git_describe} " )
8788set (OpenCoarrays_dist_string "OpenCoarrays-${full_git_describe} " )
8889message ( STATUS "Building for target architecture: ${CMAKE_SYSTEM_PROCESSOR} " )
@@ -842,7 +843,9 @@ include(cmake/AddInstallationScriptTest.cmake )
842843add_installation_script_test(installation-scripts.sh src/tests/installation/)
843844
844845# Test ISO_Fortran_binding library
845- if ( "${CMAKE_C_COMPILER_ID} " STREQUAL "GNU" )
846+ if ( (( "${CMAKE_C_COMPILER_ID} " STREQUAL "GNU" ) AND ( "${CMAKE_SYSTEM_PROCESSOR} " STREQUAL "x86_64" ))
847+ OR ( CAF_RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER} ) )
848+ # See https://github.com/sourceryinstitute/OpenCoarrays/issues/523#issuecomment-401613209
846849 add_test (NAME ISO_Fortran_binding_tests COMMAND "${CMAKE_RUNTIME_OUTPUT_DIRECTORY} /ISO_Fortran_binding_tests" )
847850endif ()
848851
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ if (${opencoarrays_aware_compiler})
1616else ()
1717 add_subdirectory (extensions)
1818endif ()
19- if ( "${CMAKE_C_COMPILER_ID} " STREQUAL "GNU" )
19+ if ( "${CMAKE_C_COMPILER_ID} " STREQUAL "GNU" OR
20+ (CAF_RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER} ))
2021 add_subdirectory (iso-fortran-binding)
2122endif ()
You can’t perform that action at this time.
0 commit comments