diff --git a/net/mpifx/Makefile b/net/mpifx/Makefile index db7eb448aed5..90504ba9d2f9 100644 --- a/net/mpifx/Makefile +++ b/net/mpifx/Makefile @@ -1,33 +1,35 @@ PORTNAME= mpifx -DISTVERSION= 1.2 +DISTVERSION= 1.3 CATEGORIES= net devel MAINTAINER= yuri@FreeBSD.org COMMENT= Modern Fortran wrappers around MPI routines LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= fypp:devel/py-fypp@${PY_FLAVOR} LIB_DEPENDS= libmpi.so:net/mpich USES= cmake:testing fortran python:build USE_GITHUB= yes GH_ACCOUNT= dftbplus CMAKE_ON= BUILD_SHARED_LIBS post-test: # run test programs # at least one test crashes, see https://github.com/dftbplus/mpifx/issues/35 .for f in test_allgather test_allgatherv test_allreduce test_bcast test_comm_split test_gather test_gatherv test_reduce test_scatter test_scatterv cd ${BUILD_WRKSRC}/test && ./${f} .endfor .include .if ${GCC_DEFAULT} >= 10 # workaround for Type mismatch in argument 'cc' at (1); passed COMPLEX(8) to REAL(8) FFLAGS+= -fallow-argument-mismatch .endif +# tests fail to build: https://github.com/dftbplus/mpifx/issues/43 + .include diff --git a/net/mpifx/distinfo b/net/mpifx/distinfo index 19e5b73ec8f1..2f3eb30ebbc7 100644 --- a/net/mpifx/distinfo +++ b/net/mpifx/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1642451768 -SHA256 (dftbplus-mpifx-1.2_GH0.tar.gz) = 1f02574856537ec58ebbf0312d951f24e41ea0ccf36b6ef9dccbb105fd04b50f -SIZE (dftbplus-mpifx-1.2_GH0.tar.gz) = 58278 +TIMESTAMP = 1651940840 +SHA256 (dftbplus-mpifx-1.3_GH0.tar.gz) = b22edb940d4aa2233c0231c41de5049fa14b73619ab390c8873f31fd9920c48b +SIZE (dftbplus-mpifx-1.3_GH0.tar.gz) = 60808 diff --git a/net/mpifx/files/patch-CMakeLists.txt b/net/mpifx/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..72db6801ff31 --- /dev/null +++ b/net/mpifx/files/patch-CMakeLists.txt @@ -0,0 +1,16 @@ +- https://github.com/dftbplus/mpifx/issues/44 + +--- CMakeLists.txt.orig 2022-05-07 16:34:12 UTC ++++ CMakeLists.txt +@@ -33,9 +33,11 @@ endif() + include(GNUInstallDirs) + + add_subdirectory(lib) ++if (BUILD_TESTING) + if(NOT BUILD_EXPORTED_TARGETS_ONLY) + enable_testing() + add_subdirectory(test) ++endif() + endif() + + # diff --git a/net/mpifx/pkg-plist b/net/mpifx/pkg-plist index a5b52b5c3830..a5b87c730650 100644 --- a/net/mpifx/pkg-plist +++ b/net/mpifx/pkg-plist @@ -1,27 +1,28 @@ include/mpifx/modfiles/libmpifx_module.mod include/mpifx/modfiles/mpifx_abort_module.mod include/mpifx/modfiles/mpifx_allgather_module.mod include/mpifx/modfiles/mpifx_allgatherv_module.mod include/mpifx/modfiles/mpifx_allreduce_module.mod include/mpifx/modfiles/mpifx_barrier_module.mod include/mpifx/modfiles/mpifx_bcast_module.mod include/mpifx/modfiles/mpifx_comm_module.mod include/mpifx/modfiles/mpifx_common_module.mod include/mpifx/modfiles/mpifx_constants_module.mod include/mpifx/modfiles/mpifx_finalize_module.mod include/mpifx/modfiles/mpifx_gather_module.mod include/mpifx/modfiles/mpifx_gatherv_module.mod include/mpifx/modfiles/mpifx_get_processor_name_module.mod include/mpifx/modfiles/mpifx_helper_module.mod include/mpifx/modfiles/mpifx_init_module.mod include/mpifx/modfiles/mpifx_recv_module.mod include/mpifx/modfiles/mpifx_reduce_module.mod include/mpifx/modfiles/mpifx_scatter_module.mod include/mpifx/modfiles/mpifx_scatterv_module.mod include/mpifx/modfiles/mpifx_send_module.mod +include/mpifx/modfiles/mpifx_win_module.mod lib/cmake/mpifx/mpifx-config-version.cmake lib/cmake/mpifx/mpifx-config.cmake lib/cmake/mpifx/mpifx-targets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/mpifx/mpifx-targets.cmake lib/libmpifx.so libdata/pkgconfig/mpifx.pc