blob: ddd684bb45476612e8e9d64cd6c969771fb5e9dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
SUMMARY = "Highway is a C++ library for SIMD (Single Instruction, Multiple Data)"
HOMEPAGE = "https://github.com/google/highway/"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e583f1fc1c22da0f388b23a31df5b591"
inherit cmake
SRC_URI = "git://github.com/google/highway.git;protocol=https;branch=master \
file://0001-Add-cmake-check-for-deducing-32bit-or-64bit-RISCV.patch"
SRCREV = "c34a36fb145de0a922a6e719b217033e1ff2eece"
PV .= "+git"
EXTRA_OECMAKE = "-DBUILD_TESTING=0 -DCMAKE_BUILD_TYPE=Release"
CXXFLAGS:append:arm = " -mfp16-format=ieee"
# Option not supported with clang and its default format for __fp16 anyway with clang
CXXFLAGS:remove:toolchain-clang = "-mfp16-format=ieee"
BBCLASSEXTEND = "native"
|