From: Lucas Stach <l.stach@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] fio: new package
Date: Thu, 24 Sep 2020 10:16:09 +0200 [thread overview]
Message-ID: <20200924081609.692187-1-l.stach@pengutronix.de> (raw)
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 <l.stach@pengutronix.de>
---
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 <l.stach@pengutronix.de>
+#
+# 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 <l.stach@pengutronix.de>")
+ @$(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
next reply other threads:[~2020-09-24 8:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-24 8:16 Lucas Stach [this message]
2020-09-24 8:49 ` Roland Hieber
2020-10-14 10:30 ` [ptxdist] [APPLIED] " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200924081609.692187-1-l.stach@pengutronix.de \
--to=l.stach@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox