blob: 903b7b4b82fb811fa219acf680ee8a3d58337cb8 [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
Andrew Geisslereef63862021-01-29 15:58:13 -060010PV = "20200923+git${SRCPV}"
11SRCREV = "6f9d96a1f41439ac172ee2ef7ccd8edf0e5d068c"
12BRANCH = "lts_2020_09_23"
13SRC_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 \
Andrew Geissler82c905d2020-04-13 13:39:40 -050017 "
18
19S = "${WORKDIR}/git"
20
Andrew Geissler82c905d2020-04-13 13:39:40 -050021ASNEEDED_class-native = ""
22ASNEEDED_class-nativesdk = ""
23
24inherit cmake
25
Andrew Geisslereef63862021-01-29 15:58:13 -060026EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \
27 -DBUILD_TESTING=OFF \
Andrew Geissler97771a32021-03-05 15:23:11 -060028 -DCMAKE_CXX_STANDARD=14 \
Andrew Geisslereef63862021-01-29 15:58:13 -060029 "
30
Andrew Geissler82c905d2020-04-13 13:39:40 -050031BBCLASSEXTEND = "native nativesdk"
Andrew Geissler82c905d2020-04-13 13:39:40 -050032
Andrew Geissler32b11992021-03-31 13:37:05 -050033FILES_${PN} = "${libdir}/libabsl_*.so"
34FILES_${PN}-dev = "${includedir} ${libdir}/cmake"