aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/highway/highway_1.1.0.bb
blob: 11d9e7cddfeb9c7289b5f6d13c901b618cddaab1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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=2b42edef8fa55315f34f2370b4715ca9"

inherit cmake

SRC_URI = "git://github.com/google/highway.git;protocol=https;branch=master"

SRCREV = "58b52a717469e62b2d9b8eaa2f5dddb44d4a4cbf"
S = "${WORKDIR}/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"