Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Mack <daniel@caiaq.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Add bonnie++-1.03e package
Date: Sun, 12 Jul 2009 22:32:08 +0200	[thread overview]
Message-ID: <20090712203208.GK18340@buzzloop.caiaq.de> (raw)
In-Reply-To: <871volac0q.fsf@macbook.be.48ers.dk>

On Sun, Jul 12, 2009 at 10:20:53PM +0200, Peter Korsgaard wrote:
>  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.

Ah, right. Added that.

>  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.

>  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

      reply	other threads:[~2009-07-12 20:32 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
2009-07-12 20:32     ` Daniel Mack [this message]

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=20090712203208.GK18340@buzzloop.caiaq.de \
    --to=daniel@caiaq.de \
    --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