summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/avro/avro-c++_1.11.3.bb
blob: 0ac1decccfcee7106ef6861a242ba631fa7b60fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
SUMMARY = "Apache Avro data serialization system."
HOMEPAGE = "https://avro.apache.org/"
SECTION = "libs"

LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=43abf34d8b9908494f83c55d213a7f89"

DEPENDS = "boost zlib xz"

BRANCH = "branch-1.11"
SRCREV = "35ff8b997738e4d983871902d47bfb67b3250734"
SRC_URI = "git://github.com/apache/avro;branch=${BRANCH};protocol=https \
           file://0001-Remove-cpp-unittest-compilation.patch \
           file://0002-Add-package-configuration-files.patch \
           file://0003-Update-CXX-standard-to-CXX14.patch \
          "

S = "${WORKDIR}/git/lang/c++"

inherit cmake pkgconfig

BBCLASSEXTEND = "native nativesdk"

# http://errors.yoctoproject.org/Errors/Details/766913/
# avro-c++/1.11.3/git/lang/c++/impl/Compiler.cc:304:18: error: possibly dangling reference to a temporary [-Werror=dangling-reference]
# avro-c++/1.11.3/git/lang/c++/impl/Compiler.cc:370:18: error: possibly dangling reference to a temporary [-Werror=dangling-reference]
CXXFLAGS += "-Wno-error=dangling-reference"