Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] dacapo: new package
Date: Sun, 14 Apr 2019 15:42:25 +0200	[thread overview]
Message-ID: <20190414154225.48347784@windsurf> (raw)
In-Reply-To: <7B9EA298F6C566489E909E1B85615FB80186965B3A@AWHMBX02.belcan.com>

Hello Daniel,

On Mon, 18 Feb 2019 21:55:03 +0000
"Leach, Daniel J." <dleach@belcan.com> wrote:

> The DaCapo benchmark suite is intended as a tool for Java benchmarking
> by the programming language, memory management and computer architecture
> communities.
> 
> Depends on the OpenJDK package for Java runtime environment.
> 
> Signed-off-by: Daniel J. Leach <dleach@belcan.com>

Thanks for your contribution, I have applied after doing a few changes.
First of all, your patch didn't apply as-is, it was probably mangled by
your e-mail client. Please try to use "git send-email" to send patches
in the future.

> diff --git a/DEVELOPERS b/DEVELOPERS
> index baa325eead..a64a671b56 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -1405,6 +1405,7 @@ F:        package/checksec/
>  F:      package/cgroupfs-mount/
>  F:      package/crda/
>  F:      package/cunit/
> +F:     package/dacapo

Why was this added in the middle of Matt Weber entries ? It should have
been associated to your name, since you are the one contributing
dacapo. I fixed that up.

> diff --git a/package/dacapo/dacapo.mk b/package/dacapo/dacapo.mk
> new file mode 100644
> index 0000000000..32d0cc0701
> --- /dev/null
> +++ b/package/dacapo/dacapo.mk
> @@ -0,0 +1,21 @@
> +################################################################################
> +#
> +# dacapo
> +#
> +################################################################################
> +
> +DACAPO_VERSION = 9.12-MR1-bach
> +DACAPO_SOURCE = dacapo-$(DACAPO_VERSION).jar
> +DACAPO_SITE = http://sourceforge.net/projects/dacapobench/files/9.12-bach-MR1
> +DACAPO_LICENSE = Apache-2.0
> +DACAPO_LICENSE_FILES = LICENSE
> +
> +define DACAPO_EXTRACT_CMDS
> +       unzip $(DACAPO_DL_DIR)/$(DACAPO_SOURCE) LICENSE -d $(@D)
> +endef
> +
> +define DACAPO_INSTALL_TARGET_CMDS
> +       $(INSTALL) -D -m 755 $(DACAPO_DL_DIR)/$(DACAPO_SOURCE) $(TARGET_DIR)/usr/bin/

The destination path should include the filename, so I also fixed that.

Applied with those two issues fixed. Thanks!

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2019-04-14 13:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-18 21:55 [Buildroot] [PATCH 1/1] dacapo: new package Leach, Daniel J.
2019-04-14 13:42 ` Thomas Petazzoni [this message]
2019-04-15 19:40   ` Matthew Weber
2019-04-17 15:09     ` Leach, Daniel J.
  -- strict thread matches above, loose matches on Subject: below --
2019-02-18 19:19 Leach, Daniel J.

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=20190414154225.48347784@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --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