blob: 01dd9f550ea060d44b2e4bd919be9c82cffa8267 [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
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070010PV = "20210324+git${SRCPV}"
11SRCREV = "e1d388e7e74803050423d035e4374131b9b57919"
12BRANCH = "lts_2021_03_24"
Andrew Geisslereef63862021-01-29 15:58:13 -060013SRC_URI = "git://github.com/abseil/abseil-cpp;branch=${BRANCH} \
14 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 \
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070017 file://0001-Export-of-internal-Abseil-changes.patch \
Andrew Geissler82c905d2020-04-13 13:39:40 -050018 "
19
20S = "${WORKDIR}/git"
21
Andrew Geissler82c905d2020-04-13 13:39:40 -050022ASNEEDED_class-native = ""
23ASNEEDED_class-nativesdk = ""
24
25inherit cmake
26
Andrew Geisslereef63862021-01-29 15:58:13 -060027EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \
28 -DBUILD_TESTING=OFF \
Andrew Geissler97771a32021-03-05 15:23:11 -060029 -DCMAKE_CXX_STANDARD=14 \
Andrew Geisslereef63862021-01-29 15:58:13 -060030 "
31
Andrew Geissler82c905d2020-04-13 13:39:40 -050032BBCLASSEXTEND = "native nativesdk"
Andrew Geissler82c905d2020-04-13 13:39:40 -050033
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070034FILES_${PN}-dev += "${includedir} ${libdir}/cmake ${libdir}/pkgconfig"