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

Signed-off-by: Daniel J. Leach <dleach@belcan.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Leach, Daniel J 2019-02-18 21:55:03 +00:00 committed by Thomas Petazzoni
parent 6237ce0991
commit 7f01cca9c3
5 changed files with 40 additions and 0 deletions

View File

@ -569,6 +569,9 @@ F: package/libamcodec/
F: package/odroid-mali/
F: package/odroid-scripts/
N: Daniel J. Leach <dleach@belcan.com>
F: package/dacapo/
N: Damien Lanson <damien@kal-host.com>
F: package/libvdpau/
F: package/log4cpp/

View File

@ -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"

12
package/dacapo/Config.in Normal file
View File

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

View File

@ -0,0 +1,3 @@
# Locally computed
sha256 be3db084adcb2867760e1197b3ccf541c3213d918daa19386d8e236648d24be8 dacapo-9.12-MR1-bach.jar
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE

21
package/dacapo/dacapo.mk Normal file
View File

@ -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/$(DACAPO_SOURCE)
endef
$(eval $(generic-package))