[Bug 291679] [NEW PORT] sysutils/mpifileutils: MPI parallel file utilities

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 13 Apr 2026 01:56:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291679

--- Comment #9 from Vladimir Druzenko <vvd@FreeBSD.org> ---
PORTNAME=       mpifileutils
DISTVERSIONPREFIX=      v
DISTVERSION=    0.12
CATEGORIES=     sysutils parallel
MASTER_SITES=  
https://github.com/hpc/${PORTNAME}/releases/download/v${DISTVERSION}/

MAINTAINER=     rikka.goering@outlook.de
COMMENT=        MPI-based parallel file utilities (dcp, dcmp, ddup, dtar, etc.)
WWW=            https://hpc.github.io/mpifileutils/

LICENSE=        BSD3CLAUSE
LICENSE_FILE=   ${WRKSRC}/${PORTNAME}/LICENSE

LIB_DEPENDS=    libcircle.so:devel/libcircle \
                libdtcmp.so:devel/dtcmp

USES=           cmake localbase:ldflags mpi:openmpi pkgconfig ssl tar:tgz
USE_LDCONFIG=   yes

CMAKE_ARGS=     -DCMAKE_C_COMPILER=${MPICC} \
                -DCMAKE_CXX_COMPILER=${MPICXX}
CMAKE_OFF=      ENABLE_GPFS ENABLE_LUSTRE ENABLE_XATTRS

LDFLAGS+=       -lcircle -ldtcmp

EXTRACT_AFTER_ARGS=     --exclude dtcmp \
                        --exclude libcircle \
                        --exclude lwgrp \
                        --no-same-owner --no-same-permissions

PORTDOCS=       AUTHORS CONTRIBUTING.md DAOS-Support.md NOTICE README.md

OPTIONS_DEFINE= DOCS

do-install-DOCS-on:
        @${MKDIR} ${STAGEDIR}${DOCSDIR}
        ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/${PORTNAME}/|}
${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>

--- CMakeLists.txt.orig 2025-04-17 19:28:45 UTC
+++ CMakeLists.txt
@@ -298,9 +298,6 @@ LIST(APPEND libmfu_srcs
   mpifileutils/src/common/mfu_progress.c
   mpifileutils/src/common/mfu_util.c
   mpifileutils/src/common/strmap.c
-  ${lwgrp_srcs}
-  ${dtcmp_srcs}
-  ${libcircle_srcs}
   )
 IF(ENABLE_LIBARCHIVE)
   LIST(APPEND libmfu_srcs
@@ -328,7 +325,3 @@ INSTALL(TARGETS mfu-static DESTINATION ${CMAKE_INSTALL

 # some projects require a "make install" command to work,
 # so define at least a basic INSTALL function
-INSTALL(FILES lwgrp/README lwgrp/LICENSE.TXT DESTINATION share/lwgrp)
-INSTALL(FILES dtcmp/README.md dtcmp/LICENSE.TXT DESTINATION share/dtcmp)
-INSTALL(FILES libcircle/COPYING DESTINATION share/libcircle)
-INSTALL(FILES mpifileutils/LICENSE mpifileutils/NOTICE DESTINATION
share/mpifileutils)

-- 
You are receiving this mail because:
You are the assignee for the bug.