From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Add bonnie++-1.03e package
Date: Sun, 12 Jul 2009 22:20:53 +0200 [thread overview]
Message-ID: <871volac0q.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <20090709105925.GA11694@buzzloop.caiaq.de> (Daniel Mack's message of "Thu\, 9 Jul 2009 12\:59\:25 +0200")
>>>>> "Daniel" == Daniel Mack <daniel@caiaq.de> writes:
Daniel> On Thu, Jul 09, 2009 at 12:48:49PM +0200, Daniel Mack wrote:
>> Signed-off-by: Daniel Mack <daniel@caiaq.de>
Daniel> Sorry, I was too quick sending this. Take the amended version below
Daniel> instead, please.
Daniel> Daniel
>> From 1bb7e420fc3bbd31e5b45589b2cd07356f0a7382 Mon Sep 17 00:00:00 2001
Daniel> From: Daniel Mack <daniel@caiaq.de>
Daniel> Date: Thu, 9 Jul 2009 12:47:31 +0200
Daniel> Subject: [PATCH] Add bonnie++-1.03e package
Daniel> Signed-off-by: Daniel Mack <daniel@caiaq.de>
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 ?
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2009-07-12 20:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-09 10:48 [Buildroot] [PATCH] Add bonnie++-1.03e package Daniel Mack
2009-07-09 10:59 ` Daniel Mack
2009-07-12 20:20 ` Peter Korsgaard [this message]
2009-07-12 20:32 ` Daniel Mack
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=871volac0q.fsf@macbook.be.48ers.dk \
--to=jacmet@uclibc.org \
--cc=buildroot@busybox.net \
/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