mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] cbenchsuite: Initial commit, v1.0
@ 2015-02-08  9:57 Markus Pargmann
  2015-02-16  9:24 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Markus Pargmann @ 2015-02-08  9:57 UTC (permalink / raw)
  To: ptxdist; +Cc: Markus Pargmann

Add a rule for cbenchsuite.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
---
 rules/cbenchsuite.in   | 11 ++++++++
 rules/cbenchsuite.make | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)
 create mode 100644 rules/cbenchsuite.in
 create mode 100644 rules/cbenchsuite.make

diff --git a/rules/cbenchsuite.in b/rules/cbenchsuite.in
new file mode 100644
index 000000000000..4b9280fbdf11
--- /dev/null
+++ b/rules/cbenchsuite.in
@@ -0,0 +1,11 @@
+## SECTION=test_suites
+
+config CBENCHSUITE
+	tristate
+	prompt "cbenchsuite"
+	select HOST_CMAKE
+	select SQLITE
+
+	help
+	  cbenchsuite is a benchmark suite including plotter for high accuracy
+	  measurements. See http://cbenchsuite.org
diff --git a/rules/cbenchsuite.make b/rules/cbenchsuite.make
new file mode 100644
index 000000000000..84f86d6335dd
--- /dev/null
+++ b/rules/cbenchsuite.make
@@ -0,0 +1,68 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2015 by Markus Pargmann <mpa@pengutronix.de
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_CBENCHSUITE) += cbenchsuite
+
+#
+# Paths and names
+#
+CBENCHSUITE_VERSION	:= 1.0
+CBENCHSUITE_MD5		:= d5bddd48495edf7200d11fce03a310ef
+CBENCHSUITE		:= cbenchsuite-$(CBENCHSUITE_VERSION)
+CBENCHSUITE_SUFFIX	:= tar.gz
+CBENCHSUITE_URL		:= https://github.com/scosu/cbenchsuite/archive/v$(CBENCHSUITE_VERSION).$(CBENCHSUITE_SUFFIX)
+CBENCHSUITE_SOURCE	:= $(SRCDIR)/$(CBENCHSUITE).$(CBENCHSUITE_SUFFIX)
+CBENCHSUITE_DIR		:= $(BUILDDIR)/$(CBENCHSUITE)
+CBENCHSUITE_LICENSE	:= GPL
+
+#
+# autoconf
+#
+CBENCHSUITE_CONF_TOOL	:= cmake
+CBENCHSUITE_CONF_OPT	= \
+	$(CROSS_CMAKE_USR) \
+	-DBUILD_TESTS:BOOL=OFF \
+	-DPython_PREFERRED_VERSION=python$(PYTHON_MAJORMINOR) \
+	-DMODULE_COMPRESSION:BOOL=ON \
+	-DMODULE_COOLDOWN:BOOL=ON \
+	-DMODULE_CPUSCHED:BOOL=ON \
+	-DMODULE_KERNEL:BOOL=ON \
+	-DMODULE_LINUX_PERF:BOOL=ON \
+	-DMODULE_MATH:BOOL=ON \
+	-DMODULE_SYSCTL:BOOL=ON \
+	-DDB_DIR:STRING=/run/cbenchsuite/db/ \
+	-DWORK_DIR:STRING=/run/cbenchsuite/work/ \
+	-DDOWNLOAD_DIR:STRING=/run/cbenchsuite/downloads/
+
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/cbenchsuite.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, cbenchsuite)
+	@$(call install_fixup, cbenchsuite,PRIORITY,optional)
+	@$(call install_fixup, cbenchsuite,SECTION,base)
+	@$(call install_fixup, cbenchsuite,AUTHOR,"Markus Pargmann <mpa@pengutronix.de>")
+	@$(call install_fixup, cbenchsuite,DESCRIPTION,missing)
+
+	@$(call install_tree, cbenchsuite, 0, 0, -, /usr/bin)
+	@$(call install_tree, cbenchsuite, 0, 0, -, /usr/lib)
+
+	@$(call install_finish, cbenchsuite)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.1.4


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-16  9:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-08  9:57 [ptxdist] [PATCH] cbenchsuite: Initial commit, v1.0 Markus Pargmann
2015-02-16  9:24 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox