Files
Ankur Tyagi 3cd535ee35 tinymembench: add UPSTREAM_CHECK_COMMITS
Upstream bumped PV without corresponding tag and SRCREV is tip of master.
Hence UPSTREAM_CHECK_COMMITS is more appropriate.

Fixes:
$ devtool latest-version tinymembench
...
INFO: Current version: 0.4.9
INFO: Latest version: 0.4
INFO: Latest version's commit: e7d7573400275d14a9ffc5266d220eeeebe3d916

[1] https://github.com/ssvb/tinymembench/commit/a9907a52a732846cd401b25bb357ec6d0e4d039a

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-19 00:52:56 -07:00

36 lines
1.4 KiB
BlitzBasic

DESCRIPTION = "A simple memory benchmark program, which tries to measure the \
peak bandwidth of sequential memory accesses and the latency of random memory \
accesses. Bandwidth is measured by running different assembly code for the \
aligned memory blocks and attempting different prefetch strategies"
HOMEPAGE = "https://github.com/ssvb/tinymembench/wiki"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://main.c;endline=22;md5=879b9bbb60851454885b5fa47eb6b345"
PV = "0.4.9+git"
SRCREV = "a2cf6d7e382e3aea1eb39173174d9fa28cad15f3"
UPSTREAM_CHECK_COMMITS = "1"
SRC_URI = "git://github.com/ssvb/tinymembench.git;branch=master;protocol=https \
file://0001-asm-Delete-.func-.endfunc-directives.patch \
"
TARGET_CC_ARCH += "${LDFLAGS}"
do_install() {
install -d ${D}${bindir}
install -m755 tinymembench ${D}${bindir}/
}
# Fails to build with thumb-1 (qemuarm)
#| {standard input}: Assembler messages:
#| {standard input}:66: Error: instruction not supported in Thumb16 mode -- `subs r1,r1,#16'
#| {standard input}:69: Error: instruction not supported in Thumb16 mode -- `subs r1,r1,#16'
#| {standard input}:82: Error: selected processor does not support Thumb mode `mla r3,r4,r3,r5'
#| {standard input}:82: Error: unshifted register required -- `and r8,r7,r3,lsr#16'
ARM_INSTRUCTION_SET = "arm"
#
# Does not work for 64bit mips.
#
COMPATIBLE_HOST = "^(?!mips64).*"