Skip to content

Commit 2f8fd3b

Browse files
committed
chore: rm unused/unmaintained ISO_Fortran_binding
1 parent c219a43 commit 2f8fd3b

File tree

6 files changed

+1
-1464
lines changed

6 files changed

+1
-1464
lines changed

CMakeLists.txt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ if($ENV{OPENCOARRAYS_DEVELOPER})
2828
endif()
2929
option(CAF_RUN_DEVELOPER_TESTS "Run tests intended only for developers" ${_TF})
3030
mark_as_advanced(CAF_RUN_DEVELOPER_TESTS)
31-
option( CAF_ENABLE_ISO_Fortran_BINDING
32-
"Build and install F2018 C interop iso_fortran_binding.h header; experimental!"
33-
${_TF} )
34-
3531

3632
# Name project and specify source languages
3733
# Parse version from .VERSION file so that more info can be added and easier to get from scripts
@@ -973,16 +969,6 @@ add_installation_script_test(installation-scripts.sh src/tests/installation/)
973969
if( CAF_ENABLE_FAILED_IMAGES AND ( NOT
974970
( "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" ) AND ( "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64" ) )
975971
)
976-
message ( WARNING
977-
"ISO_Fortran_BINDING has only been tested with recent GCC C compilers on x86_64 architectures!
978-
Some people have reported problems on other architectures or using other C compilers (Clang).
979-
There are likely bugs present; use at your own risk!")
980-
endif()
981-
982-
# Test ISO_Fortran_binding library
983-
if( CAF_ENABLE_ISO_Fortran_BINDING OR ( CAF_RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER} ) )
984-
# See https://github.com/sourceryinstitute/OpenCoarrays/issues/523#issuecomment-401613209
985-
add_test(NAME ISO_Fortran_binding_tests COMMAND "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/ISO_Fortran_binding_tests")
986972
endif()
987973

988974
# Lint the Travis-CI scripts

src/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
set(directories_to_build mpi tests)
2-
if( CAF_ENABLE_ISO_Fortran_BINDING OR ( CAF_RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER} ) )
3-
list( APPEND directories_to_build iso-fortran-binding )
4-
endif()
52
foreach(directory ${directories_to_build})
63
add_subdirectory(${directory})
74
endforeach()

src/libcaf-gfortran-descriptor.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
3030

3131
#include "libcaf-version-def.h"
3232

33-
/* GNU Fortran's array descriptor. Keep in sync with libgfortran.h. To be
34-
replaced by TS29113's ISO_Fortran_binding.h with CFI_cdesc_t. */
33+
/* GNU Fortran's array descriptor. Keep in sync with libgfortran.h. */
3534

3635
enum
3736
{ BT_UNKNOWN = 0, BT_INTEGER, BT_LOGICAL, BT_REAL, BT_COMPLEX,

src/tests/unit/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,3 @@ if (${opencoarrays_aware_compiler})
1616
else()
1717
add_subdirectory(extensions)
1818
endif()
19-
if( CAF_ENABLE_ISO_Fortran_BINDING OR ( CAF_RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER} ) )
20-
add_subdirectory(iso-fortran-binding)
21-
endif()

src/tests/unit/iso-fortran-binding/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)