From patchwork Fri Oct 19 14:54:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 149288 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp3403798lji; Fri, 19 Oct 2018 07:54:31 -0700 (PDT) X-Google-Smtp-Source: ACcGV62Qg0fiL/WD5h8xmtCWZvHlP7O1D5NifWlFUvnK2PfBkgPAmJS2WJtt8YrnHSh2SvNufAbN X-Received: by 2002:a63:d502:: with SMTP id c2-v6mr32951972pgg.324.1539960871366; Fri, 19 Oct 2018 07:54:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539960871; cv=none; d=google.com; s=arc-20160816; b=HpcUyzUBKshIbmZ/9R1nRpB926ekORX8cmyE3B5EsoOz/XvW58nyzr9qQBT+mQdi6Y ZuEu9wsHl62vC1MwCJH3KedL3Ed0wnKOYGK9/sd5CJkibVHxSw6dn4eIU2sG8rVI1vhq SPBB4Nir1id49el9PanTpFPkqZQxxf6X/hQy+rj5jbk/MxJLrDL5dK8HNvy8ewrefHBy WhP6vgNQ/RmCDPNLSeyYwvjy2Jdh+k/Yjkc+pFUkoq/0yXhHLZkKmZmCfg7P++mnzHCi s6WXZmEnGCotGeOgMpGbWU7dDIFUTFYlha2jEENXgpZXJU3optv0sbwDkmk4RNJQrkZy 8uww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=kPrINCzofLNk42vxQm1Pwyh8pzqyMMrKMI5EH+H35OM=; b=K+KIRMRV3Ez+Yf7X9lwudBWFfKtGhRkDw83HQEUnIB/hK6PzLxJQCnyST8UoMxsBmY fGkFNEIphPQiw8krdMTAOFx54VAyBDHnx/q0w/fFtFbBmunDda47aSU+/oZax4Kpe7u/ UXZf94CGzsojZ0dbI0u7PtRXDAMKp0uEIMRV0IZXtgriMNW4M3xizu9bb09AbiWzwgX0 gWKBN40TAzWoZpschxq8wjqH5NLQXgo+6obSYGWCW5f7RVZRofSRdaIh+Fty+mdzy36c jzH61x/QSSdFF7Qh9BeZ0aN58ngln9EL7uc4wrU4chME81W4fQBxHM+/SpdlLse1UCCK wObg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=LuhBZiyY; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id n1-v6si26885301pfd.50.2018.10.19.07.54.31; Fri, 19 Oct 2018 07:54:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=LuhBZiyY; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 55D4079CD5; Fri, 19 Oct 2018 14:54:25 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-lf1-f66.google.com (mail-lf1-f66.google.com [209.85.167.66]) by mail.openembedded.org (Postfix) with ESMTP id AAD50745BF for ; Fri, 19 Oct 2018 14:54:23 +0000 (UTC) Received: by mail-lf1-f66.google.com with SMTP id n14-v6so13608253lfe.6 for ; Fri, 19 Oct 2018 07:54:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=zUXpVRFo7x3EKK9tpbIixilSYeaUYNxSUWpHlYwABUA=; b=LuhBZiyYYd24p4icCo9bWVG9s0VsHLeH2i+s+U9X5Pe7rIpFFQb+TbQArSAxULgPkq TghILKiArN72NSLytDS4snXHCsokn3HJUjvEF19a5ueIvJIFOGFt0EoVrMkC7bpFl9DQ O6FW49RzILXD215Rbqh8B4mUW8q47uuH6QMIU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=zUXpVRFo7x3EKK9tpbIixilSYeaUYNxSUWpHlYwABUA=; b=sf8rq9LVICqdgJQ97tjPOAQErUVHRZ2BOTnHKaW9on+Wirn4WhhgtWtE22t/XEtgs8 4OTNnii7jXuBAZEej7m28j2i671Y0GSfS97smiODkdVXx4Ev6oB8zntEkLwhW1XErd1+ O645wv1WLnPxLw9+6UwPWLD/ZbgL7KRhx2OCLjET82byIuUBCTqorfGMwFZWggvESoF5 a4eFElHsMuLoYX6++OPrmBM4RAiJVSc+O0uyJOO/WvQnMeedSqqLEi8TQ+wxUtDkcfIJ y08yEPBFb7kxAmMAONza2HJcdgCjc8m87hzghWgCdu5uFzzosJ3E7wlDuqofy6W11Uvs 4VUQ== X-Gm-Message-State: ABuFfohEk7F+RmpyguKPt+hFEYnpYmS4ocOUinNNb1N2cMNPi5Ot2S/4 PkJEiKCyf1DnjYOEVAHnAh0VFvOYoUU= X-Received: by 2002:a19:d381:: with SMTP id k123mr3357937lfg.101.1539960863749; Fri, 19 Oct 2018 07:54:23 -0700 (PDT) Received: from localhost (c-732171d5.07-21-73746f28.bbcust.telenor.se. [213.113.33.115]) by smtp.gmail.com with ESMTPSA id v22-v6sm4494476lfa.68.2018.10.19.07.54.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Oct 2018 07:54:23 -0700 (PDT) From: Anders Roxell To: openembedded-devel@lists.openembedded.org Date: Fri, 19 Oct 2018 16:54:16 +0200 Message-Id: <20181019145416.8021-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH] add a storage I/O benchmark test suite X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Anders Roxell --- .../recipes-benchmark/s-suite/s-suite_git.bb | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 meta-oe/recipes-benchmark/s-suite/s-suite_git.bb -- 2.19.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-benchmark/s-suite/s-suite_git.bb b/meta-oe/recipes-benchmark/s-suite/s-suite_git.bb new file mode 100644 index 000000000000..77d172814065 --- /dev/null +++ b/meta-oe/recipes-benchmark/s-suite/s-suite_git.bb @@ -0,0 +1,30 @@ +SUMMARY = "Small collection of benchmarks for storage I/O" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b529aaa6a0c50f15d29f89609b5c22f3" + +SRCREV = "79698f645bfb28d0d966484ddad3a1efb562246d" +PV = "0.0+git${SRCPV}" +SRC_URI = "git://github.com/Algodev-github/S.git;protocol=https;branch=master" + +S = "${WORKDIR}/git" + +# installing in /opt/S-suite since the package has +# dependencies to the directory structure. +do_install() { + install -d ${D}/opt/S-suite + for i in $(find ${S}/* -type d); do + install -d ${D}/opt/S-suite/$(basename $i) + install -m0755 -p ${S}/$(basename $i)/* ${D}/opt/S-suite/$(basename $i) + done + + install -m0755 ${S}/config_params.sh ${D}/opt/S-suite + install -m0755 ${S}/def_config_params.sh ${D}/opt/S-suite +} + +RDEPENDS_${PN} = "bash bc coreutils gawk g++ gcc fio libaio libaio-dev sysstat" + +FILES_${PN} = "/opt/S-suite/" + +# added to INSANE_SKIP since s-suite have an runtime +# dependency (RDEPENDS) on libaio-dev. +INSANE_SKIP_${PN} += "dev-deps"