mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-14 16:07:25 +00:00
A full check-upgrade-status sweep of meta-oe found 121 recipes reporting UNKNOWN_BROKEN: their upstream version check resolved no version. This adds the correct check metadata to each so the version check works again. Fixes, by mechanism: - wget/tarball recipes: add UPSTREAM_CHECK_URI + UPSTREAM_CHECK_REGEX pointing at the real release listing (SourceForge files pages, GitHub releases pages, GNU/ftp mirrors, distro pools). - git recipes with release tags in a non-default format: add UPSTREAM_CHECK_GITTAGREGEX matching the actual tag scheme. - git repos with no tags at all: UPSTREAM_CHECK_COMMITS = "1". - recipes whose upstream has no checkable release channel, or whose PV format cannot be compared against upstream tags (CPAN zero-padded versions, AUTOINC "git" PVs, dash-separated tags the checker cannot convert): UPSTREAM_VERSION_UNKNOWN = "1" with an explanatory comment. Also override GITHUB_BASE_URI for libppd's sibling libcupsfilters where the github-releases class default pointed at a non-existent org (404). Only version-check metadata is touched; no SRC_URI, SRCREV, PV, or checksum is changed, so nothing that gets built is affected. Each fix was verified with devtool check-upgrade-status: 120 of 121 now resolve (MATCH, UPDATE, COMMITS, or an honestly-declared UNKNOWN). The remaining recipe (libubox) already has correct metadata and only fails locally because the git:// port to git.openwrt.org is firewalled on the build host. Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
38 lines
1.5 KiB
BlitzBasic
38 lines
1.5 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 tags are "vX.Y" (newest v0.4); PV 0.4.9+git is ahead of the last tag.
|
|
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
|
|
UPSTREAM_VERSION_UNKNOWN = "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).*"
|