From patchwork Mon Jun 10 15:06:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Eatmon X-Patchwork-Id: 44862 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02618C27C5E for ; Mon, 10 Jun 2024 15:06:52 +0000 (UTC) Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by mx.groups.io with SMTP id smtpd.web11.21859.1718032005740584731 for ; Mon, 10 Jun 2024 08:06:46 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=hn61NyFE; spf=pass (domain: ti.com, ip: 198.47.23.249, mailfrom: reatmon@ti.com) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 45AF6iuU012333; Mon, 10 Jun 2024 10:06:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1718032004; bh=aNZ+BNHd0rDnH90YOEWn/7albutzwyW/iwDFarzAo7k=; h=From:To:Subject:Date; b=hn61NyFEIIlddEYTcft+uD+/CmtPmHmsxINjN9aT6QxsEpXwC60590f0NknTbTtUo FTKPzcwC+GpkfOc1E9EasAMDMTATA4UtYHFaPoTruecYwTZuShEH8I+PKDMUjzSHyF 5xePL9E74uDEUjlr8inT5zPAWfzRVnw3HRlUVkt0= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 45AF6i0x028741 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 10 Jun 2024 10:06:44 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 10 Jun 2024 10:06:43 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 10 Jun 2024 10:06:43 -0500 Received: from uda0214219 (uda0214219.dhcp.ti.com [128.247.81.222]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 45AF6h4d033343; Mon, 10 Jun 2024 10:06:43 -0500 Received: from reatmon by uda0214219 with local (Exim 4.90_1) (envelope-from ) id 1sGgbb-0003T3-QH; Mon, 10 Jun 2024 10:06:43 -0500 From: Ryan Eatmon To: Praneeth Bajjuri , Denys Dmytriyenko , Subject: [meta-arago][master][PATCH] openssl-perf: Performance script for testing Date: Mon, 10 Jun 2024 10:06:43 -0500 Message-ID: <20240610150643.13289-1-reatmon@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 10 Jun 2024 15:06:52 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/15379 We need to pull a single script in from the matrix-gui packages since they are getting removed. The openssl_perf.sh is required for the ti-test flow. Signed-off-by: Ryan Eatmon --- .../openssl-perf/openssl-perf.bb | 24 +++++++++++++++++++ .../recipes-core/packagegroups/ti-test.bb | 1 + 2 files changed, 25 insertions(+) create mode 100644 meta-arago-test/recipes-benchmark/openssl-perf/openssl-perf.bb diff --git a/meta-arago-test/recipes-benchmark/openssl-perf/openssl-perf.bb b/meta-arago-test/recipes-benchmark/openssl-perf/openssl-perf.bb new file mode 100644 index 00000000..8257a561 --- /dev/null +++ b/meta-arago-test/recipes-benchmark/openssl-perf/openssl-perf.bb @@ -0,0 +1,24 @@ +SUMMARY = "Benchmark for checking various OpenSSL performance functions" +HOMEPAGE = "https://git.ti.com/cgit/matrix-gui-v2/matrix-gui-v2-apps/tree/cryptos_apps_scripts/openssl_perf_scripts/openssl_perf.sh" +LICENSE = "CC-BY-SA-3.0" +LIC_FILES_CHKSUM = "file://${UNPACKDIR}/LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9" + +PV = "1.0" + +SRC_URI = " \ + https://git.ti.com/cgit/matrix-gui-v2/matrix-gui-v2-apps/plain/cryptos_apps_scripts/openssl_perf_scripts/openssl_perf.sh;name=openssl_perf \ + https://git.ti.com/cgit/matrix-gui-v2/matrix-gui-v2-apps/plain/LICENSE;name=license \ +" +SRC_URI[openssl_perf.sha256sum] = "1ba5188beb6a1fa69d9f34df12c596ed49907c2b2d2ce2d985a305b9ecbed800" +SRC_URI[license.sha256sum] = "7febd1df714fa4b1e44fe0b0f73ceac7f9b9f97326695a0cc7074bd6c8d263e3" + +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" + +do_install() { + install -d ${D}${bindir} + install -m 0755 ${S}/openssl_perf.sh ${D}${bindir}/openssl_perf.sh +} + +FILES:${PN} = "${bindir}/openssl_perf.sh" + diff --git a/meta-arago-test/recipes-core/packagegroups/ti-test.bb b/meta-arago-test/recipes-core/packagegroups/ti-test.bb index b71c374b..8cb27f21 100644 --- a/meta-arago-test/recipes-core/packagegroups/ti-test.bb +++ b/meta-arago-test/recipes-core/packagegroups/ti-test.bb @@ -73,6 +73,7 @@ TI_TEST_TI_TOOLS = " \ cpuloadgen \ input-utils \ ltp-ddt \ + openssl-perf \ uvc-gadget \ "