Skip to contentSkip to conversation

dacapo: new package

PATCH New Leach 3 participants 4 messages Feb 18, 2019 – Apr 17, 2019

lore
Share & tools
lore

Leach

#0 lore raw

PATCH 1/1 dacapo: new package

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.

---
This package depends on openjdk v7 (https://patchwork.ozlabs.org/patch/1040100/) and therefore openjdk-bin v6 (https://patchwork.ozlabs.org/patch/1039292/)

 DEVELOPERS                 |  1 +
 package/Config.in          |  1 +
 package/dacapo/Config.in   | 12 ++++++++++++
 package/dacapo/dacapo.hash |  3 +++
 package/dacapo/dacapo.mk   | 21 +++++++++++++++++++++
 5 files changed, 38 insertions(+)
 create mode 100644 package/dacapo/Config.in
 create mode 100644 package/dacapo/dacapo.hash
 create mode 100644 package/dacapo/dacapo.mk
DEVELOPERS +1 -0
index baa325eead..a64a671b56 100644
@@ -1405,6 +1405,7 @@ F:        package/checksec/
 F:      package/cgroupfs-mount/
 F:      package/crda/
 F:      package/cunit/
+F:     package/dacapo
 F:      package/devmem2/
 F:      package/dnsmasq/
 F:      package/dosfstools/
package/Config.in +1 -0
index e150e32563..86df6352cb 100644
@@ -83,6 +83,7 @@ menu "Debugging, profiling and benchmark"
         source "package/bonnie/Config.in"
         source "package/cache-calibrator/Config.in"
         source "package/clinfo/Config.in"
+       source "package/dacapo/Config.in"
         source "package/dhrystone/Config.in"
         source "package/dieharder/Config.in"
         source "package/dmalloc/Config.in"
package/dacapo/Config.in new file +12 -0
new file mode 100644
index 0000000000..02dcab9e72
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_DACAPO
+       bool "dacapo"
+       depends on BR2_PACKAGE_OPENJDK
+       help
+         The DaCapo benchmark suite is intended as a tool for Java
+         benchmarking by the programming language, memory
+         management and computer architecture communities.
+
+         http://dacapobench.org/
+
+comment "dacapo needs OpenJDK"
+       depends on !BR2_PACKAGE_OPENJDK
package/dacapo/dacapo.hash new file +3 -0
new file mode 100644
index 0000000000..ca7ad46383
@@ -0,0 +1,3 @@
+# Locally computed
+sha256 be3db084adcb2867760e1197b3ccf541c3213d918daa19386d8e236648d24be8  dacapo-9.12-MR1-bach.jar
+sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30  LICENSE
package/dacapo/dacapo.mk new file +21 -0
new file mode 100644
index 0000000000..32d0cc0701
@@ -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/
+endef
+
+$(eval $(generic-package))
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 dacapo: new package

Hello Daniel,

Quoted 7 lines · Daniel J.

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.

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.

DEVELOPERS F: package/checksec/ · line 1408

Quoted 9 lines
DEVELOPERS +1 -0
index baa325eead..a64a671b56 100644
@@ -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.

Quoted 14 lines
package/dacapo/dacapo.mk new file +8 -0
new file mode 100644
index 0000000000..32d0cc0701
@@ -0,0 +1,21 @@
+################################################################################
+#
+# dacapo
+#
+################################################################################
+
+DACAPO_VERSION = 9.12-MR1-bach
+DACAPO_SOURCE = dacapo-$(DACAPO_VERSION).jar

package/dacapo/dacapo.mk line 18

Quoted 10 lines
package/dacapo/dacapo.mk new file +10 -0
+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

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 dacapo: new package

Thomas,

Quoted 19 lines · Thomas Petazzoni

Hello Daniel,

Quoted 7 lines · Daniel J.

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.

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.

Quoted 13 lines

DEVELOPERS F: package/checksec/ · line 1408

Quoted 9 lines
DEVELOPERS +1 -0
index baa325eead..a64a671b56 100644
@@ -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.

Sorry I should have responded and mentioned Dan was adding this package on behalf of me. I'll send a patch to fix-up.

Quoted 41 lines
Quoted 15 lines
package/dacapo/dacapo.mk new file +8 -0
new file mode 100644
index 0000000000..32d0cc0701
@@ -0,0 +1,21 @@
+################################################################################
+#
+# dacapo
+#
+################################################################################
+
+DACAPO_VERSION = 9.12-MR1-bach
+DACAPO_SOURCE = dacapo-$(DACAPO_VERSION).jar

package/dacapo/dacapo.mk line 18

Quoted 10 lines
package/dacapo/dacapo.mk new file +10 -0
+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
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Signature · 23 lines
Matthew Weber | Pr. Software Engineer | Commercial Avionics

COLLINS AEROSPACE

400 Collins Road NE, Cedar Rapids, Iowa 52498, USA

Tel: +1 319 295 7349 | FAX: +1 319 263 6099

matthew.weber at collins.com | collinsaerospace.com



CONFIDENTIALITY WARNING: This message may contain proprietary and/or
privileged information of Collins Aerospace and its affiliated
companies. If you are not the intended recipient, please 1) Do not
disclose, copy, distribute or use this message or its contents. 2)
Advise the sender by return email. 3) Delete all copies (including all
attachments) from your computer. Your cooperation is greatly
appreciated.


Any export restricted material should be shared using my
matthew.weber at corp.rockwellcollins.com address.
#3 lore raw

PATCH 1/1 dacapo: new package

Thomas,

Sorry about the patch formatting; I have limited email client options but will take greater care in the future. Thanks for applying the patch and incorporating those fixes! As Matt said, I contributed the package on his behalf.

Matt,

Thanks for providing clarification!

Dan

Quoted 111 lines · Matthew Weber

Thomas,

Quoted 19 lines · Thomas Petazzoni

Hello Daniel,

Quoted 7 lines · Daniel J.

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.

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.

Quoted 13 lines

DEVELOPERS F: package/checksec/ · line 1408

Quoted 9 lines
DEVELOPERS +1 -0
index baa325eead..a64a671b56 100644
@@ -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.

Sorry I should have responded and mentioned Dan was adding this package on behalf of me. I'll send a patch to fix-up.

Quoted 32 lines
Quoted 15 lines
package/dacapo/dacapo.mk new file +8 -0
new file mode 100644
index 0000000000..32d0cc0701
@@ -0,0 +1,21 @@
+################################################################################
+#
+# dacapo
+#
+################################################################################
+
+DACAPO_VERSION = 9.12-MR1-bach
+DACAPO_SOURCE = dacapo-$(DACAPO_VERSION).jar

package/dacapo/dacapo.mk line 18

Quoted 10 lines
package/dacapo/dacapo.mk new file +10 -0
+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,

Quoted 9 lines

Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

--

Matthew Weber | Pr. Software Engineer | Commercial Avionics

COLLINS AEROSPACE

400 Collins Road NE, Cedar Rapids, Iowa 52498, USA

Tel: +1 319 295 7349 | FAX: +1 319 263 6099

matthew.weber at collins.com | collinsaerospace.com

CONFIDENTIALITY WARNING: This message may contain proprietary and/or privileged information of Collins Aerospace and its affiliated companies. If you are not the intended recipient, please 1) Do not disclose, copy, distribute or use this message or its contents. 2) Advise the sender by return email. 3) Delete all copies (including all attachments) from your computer. Your cooperation is greatly appreciated.

Any export restricted material should be shared using my matthew.weber at corp.rockwellcollins.com address.