mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 07:37:14 +00:00
abseil-cpp: fix clang build with BMI2
Clang errors on a direct include of <bmi2intrin.h> 'Never use <bmi2intrin.h> directly; include <immintrin.h> instead.' hit whenever __BMI2__ is defined. Backport the upstream fix to include the umbrella <immintrin.h> header guarded by an x86 check. Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -10,6 +10,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=df52c6edb7adc22e533b2bacc3bd3915"
|
||||
SRC_URI = "https://github.com/abseil/${BPN}/releases/download/${PV}/${BP}.tar.gz \
|
||||
file://0001-absl-always-use-asm-sgidefs.h.patch \
|
||||
file://0002-abseil-ppc-fixes.patch \
|
||||
file://0003-raw_hash_set-include-immintrin.h-instead-of-bmi2intr.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "6e1aee535473414164bf83e4ebc40240dec71a4701f8a642d906e95bea1aea0c"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user