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]+$"
83
83
"${OpenCoarraysVersion} " )
84
84
85
85
project (opencoarrays VERSION "${OPENCOARRAYS_CMAKE_PROJECT_VERSION} " LANGUAGES C Fortran )
86
+
86
87
message ( STATUS "Building OpenCoarrays version: ${full_git_describe} " )
87
88
set (OpenCoarrays_dist_string "OpenCoarrays-${full_git_describe} " )
88
89
message ( STATUS "Building for target architecture: ${CMAKE_SYSTEM_PROCESSOR} " )
@@ -842,7 +843,9 @@ include(cmake/AddInstallationScriptTest.cmake )
842
843
add_installation_script_test (installation-scripts.sh src/tests/installation/ )
843
844
844
845
# 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
846
849
add_test (NAME ISO_Fortran_binding_tests COMMAND "${CMAKE_RUNTIME_OUTPUT_DIRECTORY} /ISO_Fortran_binding_tests" )
847
850
endif ()
848
851
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ if (${opencoarrays_aware_compiler})
16
16
else ()
17
17
add_subdirectory (extensions )
18
18
endif ()
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} ))
20
21
add_subdirectory (iso-fortran-binding )
21
22
endif ()
You can’t perform that action at this time.
0 commit comments