From nobody Fri Jan 20 09:01:29 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NytlY38Yzz2sySx; Fri, 20 Jan 2023 09:01:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NytlY2cLpz4X3t; Fri, 20 Jan 2023 09:01:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674205289; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YOqpctNShrRAVqgrYAMU7fi4ZxjalXw6VVp3fApTpI8=; b=l9/IX4ieE+d6T8XHXRZjzscZHXTgaMMF1XiASWf4TEFiA06hi0DnC6vIyVfsLWChCJqMrH Bu3JlaZGPLGSyQijvwkZBB3beQztgwqQJVkHjFuVee2dcNhf6sea2h9evdGHV+ehQXYKaN OPQt2X6d86jieHfY9U6WGgzAAiZwUXApe2+RmaVS/sf5Cq5krHHOgYwqzUlYij+yjc5dW3 Fs3nUtqfvr49cWoWZCJ8W54LjeScOF850PJrdh2NRt7W02c6VtwynD3dEXuU1i1d8JNEAy jCy/icBYyLX6eTJqMW6Uht2TarjyH7DCrhAnuWXOjdKq5uFbmAxKeKD4ORAiVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674205289; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YOqpctNShrRAVqgrYAMU7fi4ZxjalXw6VVp3fApTpI8=; b=IdxvdOadQvUiLc1pcaylYuhuQf6716LJ/HeXfUzKaS/WJVvLximNnDKI2ZdI1mCLiPZHWB z9ECSzQ6FE2i/l+MhNMp9nSE9KvtK2SSQWoxX3K2wX9ZzM+/n4TLqcaGH4Y1EGO+qvFElJ 3GAQe1QtLxsgoFFgC4DOK/d94tp1g8JbAjyN2pwON2RPpmay0keMbjUfg8m7wN0SoKuleU hK0QiZd1WvOMN7S7b3CY5B0jCMx7Lkw4cpeh/gWq+GqJLHhHaK9IMGGGSvRjpYWkWfT1rv yJz4lFEti52rGkUwltaF7+VbVHKOEzLXCQI/aoRP+/viK/2mxA3lIUgAmpOWlQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674205289; a=rsa-sha256; cv=none; b=lWl1nOkN1auZgws3F20HTPbFmWqWLU2DPUWpPPlSP87nORfzQ7DNGRYGSLNtv5GS+ppIhj rAs5FGyhzHncu4zoKB3Nxk6MaL1Vf+4AoflgdGhtkHEIjNE7Q/GqvCdj8f/wMOYwxjIieQ i6JKC6xFdbPWQKyMQ9fT9yOfVbXoatzbPz/kkOo+/FgLyh5d8XVTv13y3Z3eeCzwHCo1E/ K2RvWmOzx6DJTSP9FoTruIVNO0EnWG9fuXE2fii1a2Mq0PsSxU+84hyEtNp5TS8Ypma4am sq5oXfIKlqOV0D9A/0TfABnthh2CZhXWJhMDoTCHnqJkteAIZ7LRzIMLigWscw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NytlY1gkCzQB1; Fri, 20 Jan 2023 09:01:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30K91TfE024115; Fri, 20 Jan 2023 09:01:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30K91Toa024114; Fri, 20 Jan 2023 09:01:29 GMT (envelope-from git) Date: Fri, 20 Jan 2023 09:01:29 GMT Message-Id: <202301200901.30K91Toa024114@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 31f202308a02 - main - sysutils/ior: New port: IOR and mdtest, parallel IO storage benchmark List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 31f202308a02a266aea71df8672e8ff2f0e9848c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=31f202308a02a266aea71df8672e8ff2f0e9848c commit 31f202308a02a266aea71df8672e8ff2f0e9848c Author: Yuri Victorovich AuthorDate: 2023-01-20 09:00:59 +0000 Commit: Yuri Victorovich CommitDate: 2023-01-20 09:01:26 +0000 sysutils/ior: New port: IOR and mdtest, parallel IO storage benchmark --- sysutils/Makefile | 1 + sysutils/ior/Makefile | 31 +++++++++++++++++++++++++++++++ sysutils/ior/distinfo | 3 +++ sysutils/ior/files/patch-configure.ac | 11 +++++++++++ sysutils/ior/files/patch-src_utilities.c | 11 +++++++++++ sysutils/ior/pkg-descr | 6 ++++++ 6 files changed, 63 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 411ea575708f..2d12c50c426e 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -569,6 +569,7 @@ SUBDIR += iograph SUBDIR += iohyve SUBDIR += ioping + SUBDIR += ior SUBDIR += ipa SUBDIR += ipad_charge SUBDIR += ipdbtools diff --git a/sysutils/ior/Makefile b/sysutils/ior/Makefile new file mode 100644 index 000000000000..3778958fc355 --- /dev/null +++ b/sysutils/ior/Makefile @@ -0,0 +1,31 @@ +PORTNAME= ior +DISTVERSION= 3.3.0-20230112 +CATEGORIES= sysutils + +MAINTAINER= yuri@FreeBSD.org +COMMENT= IOR and mdtest, parallel IO storage benchmark +WWW= https://github.com/hpc/ior + +LICENSE= GPLv2 + +USES= autoreconf gmake localbase:ldflags mpi:mpich pkgconfig + +USE_GITHUB= yes +GH_ACCOUNT= hpc +GH_TAGNAME= 24d5d41 + +GNU_CONFIGURE= yes + +TEST_TARGET= check + +PLIST_FILES= bin/ior \ + bin/md-workbench \ + bin/mdtest \ + man/man1/mdtest.1.gz + +post-install: # see https://github.com/hpc/ior/issues/454 + @${RM} \ + ${STAGEDIR}${PREFIX}/lib/libaiori.a \ + ${STAGEDIR}${PREFIX}/share/USER_GUIDE + +.include diff --git a/sysutils/ior/distinfo b/sysutils/ior/distinfo new file mode 100644 index 000000000000..c67af6ad00c8 --- /dev/null +++ b/sysutils/ior/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1674200636 +SHA256 (hpc-ior-3.3.0-20230112-24d5d41_GH0.tar.gz) = 6bf404b27269e607c5f1d562a430cbdefd05da3f7cfe2ba4b3f53e6f0ae77654 +SIZE (hpc-ior-3.3.0-20230112-24d5d41_GH0.tar.gz) = 561821 diff --git a/sysutils/ior/files/patch-configure.ac b/sysutils/ior/files/patch-configure.ac new file mode 100644 index 000000000000..aef9a0ddc960 --- /dev/null +++ b/sysutils/ior/files/patch-configure.ac @@ -0,0 +1,11 @@ +--- configure.ac.orig 2023-01-20 07:54:41 UTC ++++ configure.ac +@@ -145,7 +145,7 @@ AM_COND_IF([HAVE_GPU_DIRECT],[ + # Check for system capabilities + AC_SYS_LARGEFILE + +-AC_DEFINE([_XOPEN_SOURCE], [700], [C99 compatibility]) ++#AC_DEFINE([_XOPEN_SOURCE], [700], [C99 compatibility]) + + # Check for lustre availability + AC_ARG_WITH([lustre], diff --git a/sysutils/ior/files/patch-src_utilities.c b/sysutils/ior/files/patch-src_utilities.c new file mode 100644 index 000000000000..bfc5e99e8b8c --- /dev/null +++ b/sysutils/ior/files/patch-src_utilities.c @@ -0,0 +1,11 @@ +--- src/utilities.c.orig 2023-01-20 07:46:47 UTC ++++ src/utilities.c +@@ -45,7 +45,7 @@ + # include + # ifdef __sun /* SunOS does not support statfs(), instead uses statvfs() */ + # include +-# elif (defined __APPLE__) ++# elif (defined __APPLE__) || (defined __FreeBSD__) + # include + # include + # else /* ! __sun or __APPLE__ */ diff --git a/sysutils/ior/pkg-descr b/sysutils/ior/pkg-descr new file mode 100644 index 000000000000..2928d2a18d02 --- /dev/null +++ b/sysutils/ior/pkg-descr @@ -0,0 +1,6 @@ +IOR is a parallel IO benchmark that can be used to test the performance of +parallel storage systems using various interfaces and access patterns. The IOR +repository also includes the mdtest benchmark which specifically tests the peak +metadata rates of storage systems under different directory structures. Both +benchmarks use a common parallel I/O abstraction backend and rely on MPI for +synchronization.