[meta-arago][scarthgap/master][PATCH] meta-arago-test: Add CoreMark CPU benchmark
Sadik <[email protected]>
| Newsgroups | org.yoctoproject.lists.meta-arago |
|---|---|
| Message-ID | <[email protected]> |
From: sadik <[email protected]> Add CoreMark benchmark recipe to measure CPU performance on TI platforms,Integrate CoreMark into ti-test package group alongside arm-benchmarks. CoreMark is an industry-standard CPU benchmark from EEMBC (Embedded Microprocessor Benchmark Consortium) that provides a standardized method to test the performance of processors. Signed-off-by: sadik <[email protected]> --- .../recipes-benchmark/coremark/coremark.bb | 24 +++++++++++++++++++ .../recipes-core/packagegroups/ti-test.bb | 1 + 2 files changed, 25 insertions(+) create mode 100644 meta-arago-test/recipes-benchmark/coremark/coremark.bb diff --git a/meta-arago-test/recipes-benchmark/coremark/coremark.bb b/meta-arago-test/recipes-benchmark/coremark/coremark.bb new file mode 100644 index 00000000..330adeda --- /dev/null +++ b/meta-arago-test/recipes-benchmark/coremark/coremark.bb @@ -0,0 +1,24 @@ +SUMMARY = "The benchmark utility to measure the performance of CPU" + +LICENSE = "CLOSED" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=0a18b17ae63deaa8a595035f668aebe1" + +SRC_URI = "git://github.com/eembc/coremark.git;branch=main;protocol=https" +SRCREV = "d5fad6bd094899101a4e5fd53af7298160ced6ab" + +S = "${WORKDIR}/git" +TARGET_CC_ARCH += "${LDFLAGS}" + +do_compile() { + make compile +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 coremark.exe ${D}${bindir} + mv ${D}${bindir}/coremark.exe ${D}${bindir}/coremark +} + +COMPATIBLE_HOST = '(i.86|x86_64|arm|aarch64).*-linux' + +SRC_URI[sha256sum] = "d003ed54134a0d365c0d5d8dc828432d610d1d1f77b8f58457cf1e599ad13f17" diff --git a/meta-arago-test/recipes-core/packagegroups/ti-test.bb b/meta-arago-test/recipes-core/packagegroups/ti-test.bb index c1166bc2..2c4b097e 100644 --- a/meta-arago-test/recipes-core/packagegroups/ti-test.bb +++ b/meta-arago-test/recipes-core/packagegroups/ti-test.bb @@ -88,6 +88,7 @@ TI_TEST_BASE:append:armv7ve = " \ # timestamping TI_TEST_TI_TOOLS = " \ arm-benchmarks \ + coremark \ arm-ddr-bandwidth \ cpuloadgen \ input-utils \ -- 2.34.1