CoreMark: Add CoreMark to benchmark CPU performance

Add support for CoreMark benchmark in recipes-benchmark. This
package can be used to benchmark CPU performance in SOC's Application
processor core.

Signed-off-by: Ashwin Prabhakar <ashwin.prabhakar@qti.qualcomm.com>

coremark: append LDFLAGS to TARGET_CC_ARCH to fix QA issue

Signed-off-by: Ashwin Prabhakar <ashwin.prabhakar@qti.qualcomm.com>

coremark: update to Apache-2.0 and LicenseRef-EEMBC-AUA

Update the project license to Apache-2.0 combined with the
EEMBC Acceptable Usage Agreement (AUA) as requested by the maintainer.
This ensures compliance with EEMBC's updated licensing requirements
for CoreMark.

Signed-off-by: Ashwin Prabhakar <ashwin.prabhakar@qti.qualcomm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Ashwin Prabhakar
2026-04-14 18:54:20 +02:00
committed by Khem Raj
parent b171aba911
commit d0cdd0805a
@@ -0,0 +1,23 @@
SUMMARY = "EEMBC CoreMark CPU benchmark"
DESCRIPTION = "CoreMark is a CPU benchmark program"
HOMEPAGE = "https://www.eembc.org/coremark/"
LICENSE = "Apache-2.0 & LicenseRef-EEMBC-AUA"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=0a18b17ae63deaa8a595035f668aebe1"
SRC_URI = "git://github.com/eembc/coremark.git;branch=main;protocol=https"
SRCREV = "1f483d5b8316753a742cbf5590caf5bd0a4e4777"
inherit pkgconfig
do_configure[noexec] = "1"
TARGET_CC_ARCH += "${LDFLAGS}"
do_compile() {
oe_runmake compile
}
do_install() {
install -d ${D}${bindir}
install -m 0755 ${S}/coremark.exe ${D}${bindir}/coremark
}