mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] fio: new package
@ 2020-09-24  8:16 Lucas Stach
  2020-09-24  8:49 ` Roland Hieber
  2020-10-14 10:30 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 2 replies; 3+ messages in thread
From: Lucas Stach @ 2020-09-24  8:16 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-14 10:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-24  8:16 [ptxdist] [PATCH] fio: new package Lucas Stach
2020-09-24  8:49 ` Roland Hieber
2020-10-14 10:30 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox