diff mbox series

[meta-arago,scarthgap] openssl-perf: Performance script for testing

Message ID 20240610150701.13401-1-reatmon@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,scarthgap] openssl-perf: Performance script for testing | expand

Commit Message

Ryan Eatmon June 10, 2024, 3:07 p.m. UTC
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 <reatmon@ti.com>
---
 .../openssl-perf/openssl-perf.bb              | 23 +++++++++++++++++++
 .../recipes-core/packagegroups/ti-test.bb     |  1 +
 2 files changed, 24 insertions(+)
 create mode 100644 meta-arago-test/recipes-benchmark/openssl-perf/openssl-perf.bb

Comments

Limaye, Aniket June 11, 2024, 2:47 a.m. UTC | #1
On 6/10/2024 8:37 PM, Ryan Eatmon via lists.yoctoproject.org wrote:
> 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 <reatmon@ ti. com> --- 
> .. . /openssl-perf/openssl-perf. bb | 23
> ZjQcmQRYFpfptBannerStart
> 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<reatmon@ti.com>
> ---
>   .../openssl-perf/openssl-perf.bb              | 23 +++++++++++++++++++
>   .../recipes-core/packagegroups/ti-test.bb     |  1 +
>   2 files changed, 24 insertions(+)
>   create mode 100644 meta-arago-test/recipes-benchmark/openssl-perf/openssl-perf.bb

Reviewed-by: Aniket Limaye<a-limaye@ti.com>


>
> 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..02f41f41
> --- /dev/null
> +++ b/meta-arago-test/recipes-benchmark/openssl-perf/openssl-perf.bb
> @@ -0,0 +1,23 @@
> +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://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}"
> +
> +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 \
>   "
>   
> -- 
> 2.17.1
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#15380):https://urldefense.com/v3/__https://lists.yoctoproject.org/g/meta-arago/message/15380__;!!G3vK!X2xBTAguBiEEz6BzaVhIDmhdHD2-4ULGitSfHnKkKsQZ8eT3QWVnTPxtT1DIzH7Bw1XldfzU4umCw38iqVFzXYXgxZmP0N19$
> Mute This Topic:https://urldefense.com/v3/__https://lists.yoctoproject.org/mt/106594333/6607860__;!!G3vK!X2xBTAguBiEEz6BzaVhIDmhdHD2-4ULGitSfHnKkKsQZ8eT3QWVnTPxtT1DIzH7Bw1XldfzU4umCw38iqVFzXYXgxc8giXyX$
> Group Owner:meta-arago+owner@lists.yoctoproject.org
> Unsubscribe:https://urldefense.com/v3/__https://lists.yoctoproject.org/g/meta-arago/unsub__;!!G3vK!X2xBTAguBiEEz6BzaVhIDmhdHD2-4ULGitSfHnKkKsQZ8eT3QWVnTPxtT1DIzH7Bw1XldfzU4umCw38iqVFzXYXgxUR72wMt$  [a-limaye@ti.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
diff mbox series

Patch

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..02f41f41
--- /dev/null
+++ b/meta-arago-test/recipes-benchmark/openssl-perf/openssl-perf.bb
@@ -0,0 +1,23 @@ 
+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://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}"
+
+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 \
 "