Skip to contentSkip to conversation

openssl-perf: Performance script for testing

PATCH New Ryan Eatmon 1 participant 1 message Jun 10, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openssl-perf: Performance script for testing

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.

---
 .../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
meta-arago-test/recipes-benchmark/openssl-perf/openssl-perf.bb new file +24 -0
new file mode 100644
index 00000000..8257a561
@@ -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"
+
meta-arago-test/recipes-core/packagegroups/ti-test.bb +1 -0
index b71c374b..8cb27f21 100644
@@ -73,6 +73,7 @@ TI_TEST_TI_TOOLS = " \
     cpuloadgen \
     input-utils \
     ltp-ddt \
+    openssl-perf \
     uvc-gadget \
 "
 
Signature · 1 line
2.17.1