mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Markus Pargmann <mpa@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Markus Pargmann <mpa@pengutronix.de>
Subject: [ptxdist] [PATCH] cbenchsuite: Initial commit, v1.0
Date: Sun,  8 Feb 2015 10:57:24 +0100	[thread overview]
Message-ID: <1423389444-31122-1-git-send-email-mpa@pengutronix.de> (raw)

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

             reply	other threads:[~2015-02-08  9:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-08  9:57 Markus Pargmann [this message]
2015-02-16  9:24 ` Michael Olbrich

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=1423389444-31122-1-git-send-email-mpa@pengutronix.de \
    --to=mpa@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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