Add bonnie++-1.03e package
PATCH 1/1 Add bonnie++-1.03e package
--- package/Config.in | 1 + package/bonnie++/Config.in | 10 +++++++ package/bonnie++/bonnie++.mk | 57 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+), 0 deletions(-) create mode 100644 package/bonnie++/Config.in create mode 100644 package/bonnie++/bonnie++.mk
package/Config.in +1 -0
@@ -228,6 +228,7 @@ endmenu menu "Hardware handling / blockdevices and filesystem maintenance" source "package/acpid/Config.in" +source "package/bonnie++/Config.in" source "package/dbus/Config.in" source "package/dbus-glib/Config.in" source "package/dbus-python/Config.in"
package/bonnie++/Config.in new file +10 -0
@@ -0,0 +1,10 @@ +config BR2_PACKAGE_BONNIE + bool "bonnie++" + help + Bonnie++ is a benchmark suite that is aimed at performing a number + of simple tests of hard drive and file system performance. Then you + can decide which test is important and decide how to compare + different systems after running it. + + http://www.coker.com.au/bonnie++/ +
package/bonnie++/bonnie++.mk new file +57 -0
57 lines not on this page · raw message
Signature · 1 line
1.6.3.1
PATCH 1/1 Add bonnie++-1.03e package
Quoted 1 line · Daniel Mack
Signed-off-by Daniel Mack <[email protected]>
Sorry, I was too quick sending this. Take the amended version below instead, please.
Daniel
PATCH 1/1 Add bonnie++-1.03e package
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Daniel" == Daniel Mack <[email protected]> writes:
Quoted 1 line · Daniel Mack
Quoted 1 line
Signed-off-by Daniel Mack <[email protected]>
Daniel> Sorry, I was too quick sending this. Take the amended version below Daniel> instead, please.
Daniel> Daniel
Quoted 1 line
Quoted 1 line
From
1bb7e420fc3bbd31e5b45589b2cd07356f0a7382Mon Sep 17 00:00:00 2001
Daniel> From: Daniel Mack <[email protected]> Daniel> Date: Thu, 9 Jul 2009 12:47:31 +0200 Daniel> Subject: [PATCH] Add bonnie++-1.03e package
Daniel> Signed-off-by: Daniel Mack <[email protected]> Daniel> ---
Daniel> package/Config.in | 1 + Daniel> package/bonnie++/Config.in | 10 +++++++ Daniel> package/bonnie++/bonnie++.mk | 57 ++++++++++++++++++++++++++++++++++++++++++
Daniel> +config BR2_PACKAGE_BONNIE
Daniel> + bool "bonnie++"
Daniel> + help
Daniel> + Bonnie++ is a benchmark suite that is aimed at performing a number Daniel> + of simple tests of hard drive and file system performance. Then you Daniel> + can decide which test is important and decide how to compare Daniel> + different systems after running it.
Daniel> +
Daniel> + http://www.coker.com.au/bonnie++/
Bonnie++ is written in C++, right? Then you need to depend on BR2_INSTALL_LIBSTDCPP, see package/iperf/Config.in for an example.
Daniel> +
Daniel> diff --git a/package/bonnie++/bonnie++.mk b/package/bonnie++/bonnie++.mk Daniel> new file mode 100644
Daniel> index 0000000..756532f
Daniel> --- /dev/null
Daniel> +++ b/package/bonnie++/bonnie++.mk
Daniel> @@ -0,0 +1,57 @@
Daniel> +############################################################# Daniel> +#
Daniel> +# bonnie
Daniel> +#
Daniel> +############################################################# Daniel> +BONNIE_VERSION:=1.03e
Daniel> +BONNIE_SOURCE:=bonnie++-$(BONNIE_VERSION).tgz
Daniel> +BONNIE_SITE:=http://www.coker.com.au/bonnie++/
Daniel> +BONNIE_DIR:=$(BUILD_DIR)/bonnie++-$(BONNIE_VERSION) Daniel> +BONNIE_CAT:=$(ZCAT)
Daniel> +BONNIE_BINARY:=bonnie++
Daniel> +BONNIE_TARGET_BINARY:=usr/bin/bonnie++
Why not use Makefile.autotools.in? Bonnie seems to use autotools.
Daniel> +
Daniel> +$(DL_DIR)/$(BONNIE_SOURCE):
Daniel> + $(call DOWNLOAD,$(BONNIE_SITE),$(BONNIE_SOURCE))
Daniel> +
Daniel> +bonnie-source: $(DL_DIR)/$(BONNIE_SOURCE) Daniel> +
Daniel> +$(BONNIE_DIR)/.unpacked: $(DL_DIR)/$(BONNIE_SOURCE)
Daniel> + $(BONNIE_CAT) $(DL_DIR)/$(BONNIE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
Daniel> + $(CONFIG_UPDATE) $(BONNIE_DIR)
Daniel> + touch $@
Daniel> +
Daniel> +$(BONNIE_DIR)/.configured: $(BONNIE_DIR)/.unpacked
Daniel> + (cd $(BONNIE_DIR); rm -rf config.cache; \
Daniel> + $(TARGET_CONFIGURE_OPTS) \
Daniel> + $(TARGET_CONFIGURE_ARGS) \
Daniel> + ./configure \
Daniel> + --prefix=/ \
Not --prefix=/usr ?
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 Add bonnie++-1.03e package
Quoted 17 lines · Peter Korsgaard
Daniel> From: Daniel Mack <[email protected]> Daniel> Date: Thu, 9 Jul 2009 12:47:31 +0200 Daniel> Subject: [PATCH] Add bonnie++-1.03e package
Daniel> Signed-off-by: Daniel Mack <[email protected]> Daniel> ---
Daniel> package/Config.in | 1 + Daniel> package/bonnie++/Config.in | 10 +++++++ Daniel> package/bonnie++/bonnie++.mk | 57 ++++++++++++++++++++++++++++++++++++++++++Daniel> +config
BR2_PACKAGE_BONNIE
Daniel> + bool "bonnie++"
Daniel> + helpDaniel> + Bonnie++ is a benchmark suite that is aimed at performing a number Daniel> + of simple tests of hard drive and file system performance. Then you Daniel> + can decide which test is important and decide how to compare Daniel> + different systems after running it.
Quoted 6 lines
Daniel> +
Daniel> + http://www.coker.com.au/bonnie++/Bonnie++ is written in C++, right? Then you need to depend on
BR2_INSTALL_LIBSTDCPP, see package/iperf/Config.in for an example.
Ah, right. Added that.
Quoted 9 lines
Daniel> +BONNIE_VERSION:=1.03e
Daniel> +BONNIE_SOURCE:=bonnie++-$(BONNIE_VERSION).tgz Daniel> +BONNIE_SITE:=http://www.coker.com.au/bonnie++/ Daniel> +BONNIE_DIR:=$(BUILD_DIR)/bonnie++-$(BONNIE_VERSION) Daniel> +BONNIE_CAT:=$(ZCAT)
Daniel> +BONNIE_BINARY:=bonnie++
Daniel> +BONNIE_TARGET_BINARY:=usr/bin/bonnie++Why not use Makefile.autotools.in? Bonnie seems to use autotools.
That is because 'make install' had some strange trouble because the make target 'instakk-strip' was unavailable. Hence I moved away from that aproach.
Quoted 8 lines
Daniel> +$(BONNIE_DIR)/.configured: $(BONNIE_DIR)/.unpacked
Daniel> + (cd $(BONNIE_DIR); rm -rf config.cache; \
Daniel> + $(TARGET_CONFIGURE_OPTS) \
Daniel> + $(TARGET_CONFIGURE_ARGS) \
Daniel> + ./configure \
Daniel> + --prefix=/ \Not --prefix=/usr ?
Fixed that, even though it doesn't seem to matter in this case.
Thanks,
Daniel