blob: f7f8fc848e592d6d60ab834b2284d844d23b5fbd [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "Abseil is a cpp library like STL"
2DESCRIPTION = "Abseil provides pieces missing from the C++ standard. Contains \
3additional useful libraries like algorithm, container, debugging, hash, memory, \
4meta, numeric, strings, synchronization, time, types and utility"
5HOMEPAGE = "https://abseil.io/"
6SECTION = "libs"
7LICENSE = "Apache-2.0"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=df52c6edb7adc22e533b2bacc3bd3915"
9
Patrick Williams975a06f2022-10-21 14:42:47 -050010PV = "20221014.0"
11SRCREV = "5fa65f28e46e86c44966a1ca8a727a329d9c1ff8"
12BRANCH = "master"
Andrew Geissler595f6302022-01-24 19:11:47 +000013SRC_URI = "git://github.com/abseil/abseil-cpp;branch=${BRANCH};protocol=https \
Andrew Geisslereef63862021-01-29 15:58:13 -060014 file://0001-absl-always-use-asm-sgidefs.h.patch \
15 file://0002-Remove-maes-option-from-cross-compilation.patch \
Andrew Geissler32b11992021-03-31 13:37:05 -050016 file://abseil-ppc-fixes.patch \
Andrew Geissler615f2f12022-07-15 14:00:58 -050017 file://0003-Remove-neon-option-from-cross-compilation.patch \
Andrew Geissler517393d2023-01-13 08:55:19 -060018 file://0001-direct_mmap-Use-off_t-on-linux.patch \
Andrew Geissler82c905d2020-04-13 13:39:40 -050019 "
20
21S = "${WORKDIR}/git"
22
Patrick Williams213cb262021-08-07 19:21:33 -050023ASNEEDED:class-native = ""
24ASNEEDED:class-nativesdk = ""
Andrew Geissler82c905d2020-04-13 13:39:40 -050025
26inherit cmake
27
Andrew Geisslereef63862021-01-29 15:58:13 -060028EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \
29 -DBUILD_TESTING=OFF \
Andrew Geissler97771a32021-03-05 15:23:11 -060030 -DCMAKE_CXX_STANDARD=14 \
Andrew Geisslereef63862021-01-29 15:58:13 -060031 "
32
Andrew Geissler82c905d2020-04-13 13:39:40 -050033BBCLASSEXTEND = "native nativesdk"
Andrew Geissler82c905d2020-04-13 13:39:40 -050034
Patrick Williams213cb262021-08-07 19:21:33 -050035FILES:${PN}-dev += "${includedir} ${libdir}/cmake ${libdir}/pkgconfig"