From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fShQ9-0007g3-MW for guix-patches@gnu.org; Tue, 12 Jun 2018 07:25:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fShQ6-00057y-I9 for guix-patches@gnu.org; Tue, 12 Jun 2018 07:25:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36232) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fShQ6-00057p-EJ for guix-patches@gnu.org; Tue, 12 Jun 2018 07:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fShQ6-0008B9-6H for guix-patches@gnu.org; Tue, 12 Jun 2018 07:25:02 -0400 Subject: [bug#31798] [PATCH] gnu: Add iozone. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fShOw-000764-OK for guix-patches@gnu.org; Tue, 12 Jun 2018 07:23:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fShOt-0004Sv-Jt for guix-patches@gnu.org; Tue, 12 Jun 2018 07:23:50 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21056) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fShOs-0004QG-NZ for guix-patches@gnu.org; Tue, 12 Jun 2018 07:23:47 -0400 From: Ricardo Wurmus Date: Tue, 12 Jun 2018 13:23:25 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Message-ID: <20180612112325.21668-1-rekado@elephly.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31798@debbugs.gnu.org Cc: Ricardo Wurmus * gnu/packages/profiling.scm (iozone): New variable. --- gnu/packages/profiling.scm | 47 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/profiling.scm b/gnu/packages/profiling.scm index b2def45cc..b248af0b3 100644 --- a/gnu/packages/profiling.scm +++ b/gnu/packages/profiling.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2017 Dave Love ;;; Copyright =C2=A9 2018 Tobias Geerinckx-Rice +;;; Copyright =C2=A9 2018 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -399,3 +400,49 @@ high-performance computing (HPC) applications.") (license license:cpl1.0))) =20 (define-public scorep-openmpi (make-scorep openmpi)) + +(define-public iozone + (package + (name "iozone") + (version "3.482") + (source (origin + (method url-fetch) + (uri (string-append "http://www.iozone.org/src/current/" + "iozone" + (string-map (lambda (c) + (if (char=3D? c #\.) #\_ c= )) + version) + ".tar")) + (sha256 + (base32 + "0c5fyfr3iqfb8my7dcjlhm6kkmcl4a7r6gcgqrvp3xwn7jvgwcr7")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags (list "linux" "CC=3Dgcc") + #:tests? #f ; none included + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ (chdir "src/current/"))) + (delete 'configure) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (man1 (string-append out "/share/man/man1"))) + (for-each (lambda (file) + (install-file file bin)) + '("iozone" "fileop" "pit_server")) + (install-file "../../docs/iozone.1" man1)) + #t))))) + (home-page "http://www.iozone.org") + (synopsis "Filesystem benchmark tool") + (description "IOzone is a filesystem benchmark tool. The benchmark +generates and measures a variety of file operations. Iozone is useful for +performing a broad filesystem analysis of a vendor=E2=80=99s computer plat= form. The +benchmark tests file I/O performance for the following operations: Read, +write, re-read, re-write, read backwards, read strided, @code{fread}, +@code{fwrite}, random read, @code{pread}, @code{mmap}, @code{aio_read}, +@code{aio_write}.") + (license (license:non-copyleft + "http://www.iozone.org/docs/Iozone_License.txt")))) --=20 2.17.1