mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
abseil-cpp: upgrade 20240116.2 -> 20240116.3
This upgrade include security fix for CVE-2025-0838, refer: https://github.com/abseil/abseil-cpp/releases?page=1 git log: 54fac219 (tag: 20240116.3) Fix potential integer overflow in hash container create/resize (#1812) d7aaad83 (tag: 20240116.2) Abseil LTS Branch, Jan 2024, Patch 2 (#1650) 2f9e432c (tag: 20240116.1) Prepare 20240116.1 patch for Apple Privacy Manifest (#1623) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
f6e72133e7
commit
48980f26fe
@@ -0,0 +1,54 @@
|
||||
SUMMARY = "Abseil is a cpp library like STL"
|
||||
DESCRIPTION = "Abseil provides pieces missing from the C++ standard. Contains \
|
||||
additional useful libraries like algorithm, container, debugging, hash, memory, \
|
||||
meta, numeric, strings, synchronization, time, types and utility."
|
||||
HOMEPAGE = "https://abseil.io/"
|
||||
SECTION = "libs"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=df52c6edb7adc22e533b2bacc3bd3915"
|
||||
|
||||
SRCREV = "54fac219c4ef0bc379dfffb0b8098725d77ac81b"
|
||||
BRANCH = "lts_2024_01_16"
|
||||
SRC_URI = "git://github.com/abseil/abseil-cpp;branch=${BRANCH};protocol=https \
|
||||
file://0001-absl-always-use-asm-sgidefs.h.patch \
|
||||
file://0002-Remove-maes-option-from-cross-compilation.patch \
|
||||
file://abseil-ppc-fixes.patch \
|
||||
file://0003-Remove-neon-option-from-cross-compilation.patch \
|
||||
file://0004-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cmake
|
||||
|
||||
EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DABSL_ENABLE_INSTALL=ON \
|
||||
"
|
||||
|
||||
SYSROOT_DIRS:append:class-nativesdk:mingw32 = " ${bindir}"
|
||||
|
||||
PACKAGES_DYNAMIC = "^libabsl-*"
|
||||
PACKAGES_DYNAMIC:class-native = ""
|
||||
|
||||
PACKAGESPLITFUNCS =+ "split_dynamic_packages"
|
||||
|
||||
python split_dynamic_packages() {
|
||||
libdir = d.getVar('libdir')
|
||||
|
||||
libpackages = do_split_packages(
|
||||
d,
|
||||
root=libdir,
|
||||
file_regex=r'^libabsl_(.*)\.so\..*$',
|
||||
output_pattern='libabsl-%s',
|
||||
description="abseil shared library %s",
|
||||
prepend=True,
|
||||
extra_depends='',
|
||||
)
|
||||
if libpackages:
|
||||
d.appendVar('RDEPENDS:' + d.getVar('PN'), ' ' + ' '.join(libpackages))
|
||||
}
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user