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