blob: 222ba7b77c9ffe74886711935f1b98caf0d49896 [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001SUMMARY = "Extremely fast non-cryptographic hash algorithm"
2DESCRIPTION = "xxHash is an extremely fast non-cryptographic hash algorithm, \
3working at speeds close to RAM limits."
4HOMEPAGE = "http://www.xxhash.com/"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00005LICENSE = "BSD-2-Clause & GPL-2.0-only"
Andrew Geissler595f6302022-01-24 19:11:47 +00006LIC_FILES_CHKSUM = "file://LICENSE;md5=cdfe7764d5685d8e08b3df302885d7f3 \
7 file://cli/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
8 "
9
10SRC_URI = "git://github.com/Cyan4973/xxHash.git;branch=release;protocol=https"
11UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
12
13SRCREV = "35b0373c697b5f160d3db26b1cbb45a0d5ba788c"
14
15S = "${WORKDIR}/git"
16
Andrew Geissler78b72792022-06-14 06:47:25 -050017CFLAGS += "${@bb.utils.contains('SELECTED_OPTIMIZATION', '-Og', '-DXXH_NO_INLINE_HINTS', '', d)}"
18
Andrew Geissler595f6302022-01-24 19:11:47 +000019do_compile () {
20 oe_runmake all
21}
22
23do_install () {
24 oe_runmake DESTDIR=${D} install
25}
26
27BBCLASSEXTEND = "native nativesdk"