From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1kLMQE-00059w-6W for ptxdist@pengutronix.de; Thu, 24 Sep 2020 10:16:11 +0200 From: Lucas Stach Date: Thu, 24 Sep 2020 10:16:09 +0200 Message-Id: <20200924081609.692187-1-l.stach@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH] fio: new package List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Flexible I/O tester is a tool to simulate different kinds of storage I/O load. It is mostly useful to debug storage related issues. Signed-off-by: Lucas Stach --- rules/fio.in | 7 +++++ rules/fio.make | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 rules/fio.in create mode 100644 rules/fio.make diff --git a/rules/fio.in b/rules/fio.in new file mode 100644 index 000000000000..66d37d273ab9 --- /dev/null +++ b/rules/fio.in @@ -0,0 +1,7 @@ +## SECTION=test_suites + +config FIO + tristate + prompt "fio" + help + Flexible I/O tester diff --git a/rules/fio.make b/rules/fio.make new file mode 100644 index 000000000000..aebf89586aff --- /dev/null +++ b/rules/fio.make @@ -0,0 +1,70 @@ +# -*-makefile-*- +# +# Copyright (C) 2020 by Lucas Stach +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_FIO) += fio + +# +# Paths and names +# +FIO_VERSION := 3.23 +FIO_MD5 := 497f8bad953723a8c4c46f2a58a13b24 +FIO := fio-$(FIO_VERSION) +FIO_SUFFIX := tar.gz +FIO_URL := https://brick.kernel.dk/snaps/$(FIO).$(FIO_SUFFIX) +FIO_SOURCE := $(SRCDIR)/$(FIO).$(FIO_SUFFIX) +FIO_DIR := $(BUILDDIR)/$(FIO) +FIO_LICENSE := GPL-2.0-only +FIO_LICENSE_FILES := file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# Not really autoconf, but a hand-written configure script. +# +FIO_CONF_TOOL := autoconf +FIO_CONF_OPT := \ + --prefix=/usr \ + --disable-numa \ + --disable-rdma \ + --disable-rados \ + --disable-rbd \ + --disable-http \ + --disable-gfapi \ + --disable-lex \ + --disable-pmem \ + --disable-native \ + --disable-libzbc \ + --disable-tcmalloc \ + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/fio.targetinstall: + @$(call targetinfo) + + @$(call install_init, fio) + @$(call install_fixup, fio,PRIORITY,optional) + @$(call install_fixup, fio,SECTION,base) + @$(call install_fixup, fio,AUTHOR,"Lucas Stach ") + @$(call install_fixup, fio,DESCRIPTION,missing) + + @$(call install_copy, fio, 0, 0, 0755, -, /usr/bin/fio) + + @$(call install_finish, fio) + + @$(call touch) + +# vim: syntax=make -- 2.20.1 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de