abseil-cpp: add recipe for git version
PATCH 1/1 abseil-cpp: add recipe for git version
The repository contains the Abseil C++ library code. Abseil is an open-source collection of C++ code (compliant to C++11) designed to augment the C++ standard library.
https://github.com/abseil/abseil-cpp
--- ...e-maes-option-from-cross-compilation.patch | 53 +++++++++++++++++++ .../abseil-cpp/abseil-cpp_git.bb | 27 ++++++++++ 2 files changed, 80 insertions(+) create mode 100644 meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0001-Remove-maes-option-from-cross-compilation.patch create mode 100644 meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0001-Remove-maes-option-from-cross-compilation.patch new file +53 -0
@@ -0,0 +1,53 @@ +From 70926666f7c5c35add363e3bcade6eaabace7206 Mon Sep 17 00:00:00 2001 +From: Sinan Kaya <[email protected]> +Date: Mon, 3 Feb 2020 03:25:57 +0000 +Subject: [PATCH] Remove maes option from cross-compilation + +--- + absl/copts/GENERATED_AbseilCopts.cmake | 4 ---- + absl/copts/GENERATED_copts.bzl | 4 ---- + absl/copts/copts.py | 4 ---- + 3 files changed, 12 deletions(-) + +diff --git a/absl/copts/GENERATED_AbseilCopts.cmake b/absl/copts/GENERATED_AbseilCopts.cmake +index 01bd40b..af99694 100644 +--- a/absl/copts/GENERATED_AbseilCopts.cmake ++++ b/absl/copts/GENERATED_AbseilCopts.cmake +@@ -230,7 +230,3 @@ list(APPEND ABSL_RANDOM_HWAES_MSVC_X64_FLAGS + "/Ob2" + ) + +-list(APPEND ABSL_RANDOM_HWAES_X64_FLAGS +- "-maes" +- "-msse4.1" +-) +diff --git a/absl/copts/GENERATED_copts.bzl b/absl/copts/GENERATED_copts.bzl +index 82f332f..9a548d1 100644 +--- a/absl/copts/GENERATED_copts.bzl ++++ b/absl/copts/GENERATED_copts.bzl +@@ -231,7 +231,3 @@ ABSL_RANDOM_HWAES_MSVC_X64_FLAGS = [ + "/Ob2", + ] + +-ABSL_RANDOM_HWAES_X64_FLAGS = [ +- "-maes", +- "-msse4.1", +-] +diff --git a/absl/copts/copts.py b/absl/copts/copts.py +index 068abce..c2f70fb 100644 +--- a/absl/copts/copts.py ++++ b/absl/copts/copts.py +@@ -203,10 +203,6 @@ COPT_VARS = { + # to improve performance of some random bit generators. + "ABSL_RANDOM_HWAES_ARM64_FLAGS": ["-march=armv8-a+crypto"], + "ABSL_RANDOM_HWAES_ARM32_FLAGS": ["-mfpu=neon"], +- "ABSL_RANDOM_HWAES_X64_FLAGS": [ +- "-maes", +- "-msse4.1", +- ], + "ABSL_RANDOM_HWAES_MSVC_X64_FLAGS": [ + "/O2", # Maximize speed + "/Ob2", # Aggressive inlining +-- +2.23.0 +
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb new file +27 -0
@@ -0,0 +1,27 @@ +SUMMARY = "Abseil is a cpp library like STL" +DESCRIPTION = "It's got containers, algorithms, useful stuff!" +HOMEPAGE = "" +SECTION = "libs" +LICENSE = "Apache-2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=df52c6edb7adc22e533b2bacc3bd3915" + +SRCREV = "aa844899c937bde5d2b24f276b59997e5b668bde" +BRANCH = "lts_2019_08_08" +SRC_URI = "git://github.com/abseil/abseil-cpp;branch=${BRANCH} \ + file://0001-Remove-maes-option-from-cross-compilation.patch \ + " + +S = "${WORKDIR}/git" + +TARGET_CXXFLAGS += "${@bb.utils.contains('TARGET_ARCH', 'aarch64', ' -march=armv8-a+crypto', '', d)}" +TARGET_CXXFLAGS += "${@bb.utils.contains('TARGET_ARCH', 'x64', ' -maes -msse4.1', '', d)}" + +CXXFLAGS_append_class-nativesdk = " -Wl,--no-as-needed -fPIC" +CXXFLAGS_append_class-native = " -Wl,--no-as-needed -fPIC" +CXXFLAGS_append_class-target = " -fPIC" + +inherit cmake + +BBCLASSEXTEND = "native nativesdk" +ALLOW_EMPTY_${PN} = "1" +
Signature · 1 line
2.23.0
Quoted 81 lines · Sinan Kaya
The repository contains the Abseil C++ library code. Abseil is an open-source collection of C++ code (compliant to C++11) designed to augment the C++ standard library.
https://github.com/abseil/abseil-cpp
Signed-off-by Changyi Li <[email protected]>Signed-off-by Sinan Kaya <[email protected]>--- ...e-maes-option-from-cross-compilation.patch | 53 +++++++++++++++++++ .../abseil-cpp/abseil-cpp_git.bb | 27 ++++++++++ 2 files changed, 80 insertions(+) create mode 100644 meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0001-Remove-maes-option-from-cross-compilation.patch create mode 100644 meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bbmeta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0001-Remove-maes-option-from-cross-compilation.patch new file +53
-0@@ -0,0 +1,53 @@ +From 70926666f7c5c35add363e3bcade6eaabace7206 Mon Sep 17 00:00:00 2001 +From: Sinan Kaya <[email protected]> +Date: Mon, 3 Feb 2020 03:25:57 +0000 +Subject: [PATCH] Remove maes option from cross-compilation + +--- + absl/copts/GENERATED_AbseilCopts.cmake | 4 ---- + absl/copts/GENERATED_copts.bzl | 4 ---- + absl/copts/copts.py | 4 ---- + 3 files changed, 12 deletions(-) + +diff --git a/absl/copts/GENERATED_AbseilCopts.cmake b/absl/copts/GENERATED_AbseilCopts.cmake +index 01bd40b..af99694 100644 +--- a/absl/copts/GENERATED_AbseilCopts.cmake ++++ b/absl/copts/GENERATED_AbseilCopts.cmake +@@ -230,7 +230,3 @@ list(APPEND ABSL_RANDOM_HWAES_MSVC_X64_FLAGS + "/Ob2" + ) + +-list(APPEND ABSL_RANDOM_HWAES_X64_FLAGS +- "-maes" +- "-msse4.1" +-) +diff --git a/absl/copts/GENERATED_copts.bzl b/absl/copts/GENERATED_copts.bzl +index 82f332f..9a548d1 100644 +--- a/absl/copts/GENERATED_copts.bzl ++++ b/absl/copts/GENERATED_copts.bzl +@@ -231,7 +231,3 @@ ABSL_RANDOM_HWAES_MSVC_X64_FLAGS = [ + "/Ob2", + ] + +-ABSL_RANDOM_HWAES_X64_FLAGS = [ +- "-maes", +- "-msse4.1", +-] +diff --git a/absl/copts/copts.py b/absl/copts/copts.py +index 068abce..c2f70fb 100644 +--- a/absl/copts/copts.py ++++ b/absl/copts/copts.py +@@ -203,10 +203,6 @@ COPT_VARS = { + # to improve performance of some random bit generators. + "ABSL_RANDOM_HWAES_ARM64_FLAGS": ["-march=armv8-a+crypto"], + "ABSL_RANDOM_HWAES_ARM32_FLAGS": ["-mfpu=neon"], +- "ABSL_RANDOM_HWAES_X64_FLAGS": [ +- "-maes", +- "-msse4.1", +- ], + "ABSL_RANDOM_HWAES_MSVC_X64_FLAGS": [ + "/O2", # Maximize speed + "/Ob2", # Aggressive inlining +-- +2.23.0 +meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb new file +0
-0
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb line 2
Quoted 2 lines
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb new file +2
-0@@ -0,0 +1,27 @@ +SUMMARY = "Abseil is a cpp library like STL" +DESCRIPTION = "It's got containers, algorithms, useful stuff!"
maybe we can be more specific about it from
https://github.com/abseil/abseil-cpp/blob/master/README.md
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb line 3
Quoted 1 line
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb new file +1
-0+HOMEPAGE = ""
perhaps https://abseil.io/ instead of leaving it empty is better.
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb line 5
Quoted 2 lines
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb new file +2
-0+SECTION = "libs" +LICENSE = "Apache-2"
The current value is not wrong but Apache-2.0 would be better to match SPDX
Quoted 5 lines
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb new file +5
-0+LIC_FILES_CHKSUM = "file://LICENSE;md5=df52c6edb7adc22e533b2bacc3bd3915" + +SRCREV = "aa844899c937bde5d2b24f276b59997e5b668bde" +BRANCH = "lts_2019_08_08" +SRC_URI = "git://github.com/abseil/abseil-cpp;branch=${BRANCH} \
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb line 20
Quoted 10 lines
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb new file +10
-0+ file://0001-Remove-maes-option-from-cross-compilation.patch \ + " + +S = "${WORKDIR}/git" + +TARGET_CXXFLAGS += "${@bb.utils.contains('TARGET_ARCH', 'aarch64', ' -march=armv8-a+crypto', '', d)}" +TARGET_CXXFLAGS += "${@bb.utils.contains('TARGET_ARCH', 'x64', ' -maes -msse4.1', '', d)}" + +CXXFLAGS_append_class-nativesdk = " -Wl,--no-as-needed -fPIC" +CXXFLAGS_append_class-native = " -Wl,--no-as-needed -fPIC"
perhaps use ASNEEDED_<override> = ""
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb line 26
Quoted 6 lines
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb new file +6
-0+CXXFLAGS_append_class-target = " -fPIC" + +inherit cmake + +BBCLASSEXTEND = "native nativesdk" +ALLOW_EMPTY_${PN} = "1"
why do we need this ?
It also fails to build on musl
https://errors.yoctoproject.org/Errors/Details/390527/
Quoted 124 lines · Khem Raj
Quoted 81 lines · Sinan Kaya
The repository contains the Abseil C++ library code. Abseil is an open-source collection of C++ code (compliant to C++11) designed to augment the C++ standard library.
https://github.com/abseil/abseil-cpp
Signed-off-by Changyi Li <[email protected]>Signed-off-by Sinan Kaya <[email protected]>--- ...e-maes-option-from-cross-compilation.patch | 53 +++++++++++++++++++ .../abseil-cpp/abseil-cpp_git.bb | 27 ++++++++++ 2 files changed, 80 insertions(+) create mode 100644 meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0001-Remove-maes-option-from-cross-compilation.patch create mode 100644 meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bbmeta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0001-Remove-maes-option-from-cross-compilation.patch new file +53
-0@@ -0,0 +1,53 @@ +From 70926666f7c5c35add363e3bcade6eaabace7206 Mon Sep 17 00:00:00 2001 +From: Sinan Kaya <[email protected]> +Date: Mon, 3 Feb 2020 03:25:57 +0000 +Subject: [PATCH] Remove maes option from cross-compilation + +--- + absl/copts/GENERATED_AbseilCopts.cmake | 4 ---- + absl/copts/GENERATED_copts.bzl | 4 ---- + absl/copts/copts.py | 4 ---- + 3 files changed, 12 deletions(-) + +diff --git a/absl/copts/GENERATED_AbseilCopts.cmake b/absl/copts/GENERATED_AbseilCopts.cmake +index 01bd40b..af99694 100644 +--- a/absl/copts/GENERATED_AbseilCopts.cmake ++++ b/absl/copts/GENERATED_AbseilCopts.cmake +@@ -230,7 +230,3 @@ list(APPEND ABSL_RANDOM_HWAES_MSVC_X64_FLAGS + "/Ob2" + ) + +-list(APPEND ABSL_RANDOM_HWAES_X64_FLAGS +- "-maes" +- "-msse4.1" +-) +diff --git a/absl/copts/GENERATED_copts.bzl b/absl/copts/GENERATED_copts.bzl +index 82f332f..9a548d1 100644 +--- a/absl/copts/GENERATED_copts.bzl ++++ b/absl/copts/GENERATED_copts.bzl +@@ -231,7 +231,3 @@ ABSL_RANDOM_HWAES_MSVC_X64_FLAGS = [ + "/Ob2", + ] + +-ABSL_RANDOM_HWAES_X64_FLAGS = [ +- "-maes", +- "-msse4.1", +-] +diff --git a/absl/copts/copts.py b/absl/copts/copts.py +index 068abce..c2f70fb 100644 +--- a/absl/copts/copts.py ++++ b/absl/copts/copts.py +@@ -203,10 +203,6 @@ COPT_VARS = { + # to improve performance of some random bit generators. + "ABSL_RANDOM_HWAES_ARM64_FLAGS": ["-march=armv8-a+crypto"], + "ABSL_RANDOM_HWAES_ARM32_FLAGS": ["-mfpu=neon"], +- "ABSL_RANDOM_HWAES_X64_FLAGS": [ +- "-maes", +- "-msse4.1", +- ], + "ABSL_RANDOM_HWAES_MSVC_X64_FLAGS": [ + "/O2", # Maximize speed + "/Ob2", # Aggressive inlining +-- +2.23.0 +meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb new file +0
-0meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb line 2
Quoted 2 lines
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb new file +2
-0@@ -0,0 +1,27 @@ +SUMMARY = "Abseil is a cpp library like STL" +DESCRIPTION = "It's got containers, algorithms, useful stuff!"maybe we can be more specific about it from
https://github.com/abseil/abseil-cpp/blob/master/README.mdmeta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb line 3
Quoted 1 line
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb new file +1
-0+HOMEPAGE = ""perhaps https://abseil.io/ instead of leaving it empty is better.
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb line 5
Quoted 2 lines
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb new file +2
-0+SECTION = "libs" +LICENSE = "Apache-2"The current value is not wrong but Apache-2.0 would be better to match SPDX
Quoted 5 lines
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb new file +5
-0+LIC_FILES_CHKSUM = "file://LICENSE;md5=df52c6edb7adc22e533b2bacc3bd3915" + +SRCREV = "aa844899c937bde5d2b24f276b59997e5b668bde" +BRANCH = "lts_2019_08_08" +SRC_URI = "git://github.com/abseil/abseil-cpp;branch=${BRANCH} \meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb line 20
Quoted 10 lines
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb new file +10
-0+ file://0001-Remove-maes-option-from-cross-compilation.patch \ + " + +S = "${WORKDIR}/git" + +TARGET_CXXFLAGS += "${@bb.utils.contains('TARGET_ARCH', 'aarch64', ' -march=armv8-a+crypto', '', d)}" +TARGET_CXXFLAGS += "${@bb.utils.contains('TARGET_ARCH', 'x64', ' -maes -msse4.1', '', d)}" + +CXXFLAGS_append_class-nativesdk = " -Wl,--no-as-needed -fPIC" +CXXFLAGS_append_class-native = " -Wl,--no-as-needed -fPIC"perhaps use ASNEEDED_<override> = ""
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb line 26
Quoted 6 lines
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb new file +6
-0+CXXFLAGS_append_class-target = " -fPIC" + +inherit cmake + +BBCLASSEXTEND = "native nativesdk" +ALLOW_EMPTY_${PN} = "1"why do we need this ?
Quoted 4 lines · Khem Raj
It also fails to build on musl
https://errors.yoctoproject.org/Errors/Details/390527/On Sat, Feb 8, 2020 at 11:53 PM Khem Raj <[email protected]> wrote:
This library requires "-march=armv8-a+crypto"
-fvisibility-inlines-hidden
Yet, it is getting compiled with: -march=armv8-a+crc
What's the bet way to handle this
Quoted 5 lines · Sinan Kaya
Quoted 3 lines · Khem Raj
It also fails to build on musl
https://errors.yoctoproject.org/Errors/Details/390527/
Quoted 9 lines
Quoted 1 line · Khem Raj
This library requires "-march=armv8-a+crypto"
-fvisibility-inlines-hidden
Yet, it is getting compiled with: -march=armv8-a+crc
This means the recipe should be checking for crypto being present in TUNE_FEATURES
and be marked incompatible if this is not available.
mark it compatible only on architectures where
it works which it seems are only arm/x86, and on aarch64 particularly check for CPU feature it requires
something on the lines below
python () {
arch = d.getVar("TARGET_ARCH")
if arch == "aarch64":
tunes = d.getVar("TUNE_FEATURES")
if not tunes:
return
pkgn = d.getVar("PN")
pkgv = d.getVar("PV")
if "crypto" not in tunes:
raise bb.parse.SkipPackage("%s-%s Needs support for crypto
on armv8" % (pkgn, pkgv))
}
Quoted 1 line
What's the bet way to handle this
Quoted 13 lines · Khem Raj
python () {
arch =d.getVar("TARGET_ARCH")if arch == "aarch64":
tunes =d.getVar("TUNE_FEATURES")
if not tunes:
return
pkgn =d.getVar("PN")
pkgv =d.getVar("PV")
if "crypto" not in tunes:
raise bb.parse.SkipPackage("%s-%s Needs support for crypto
on armv8" % (pkgn, pkgv))
}
thanks, I'm adding this now.
Quoted 14 lines · Sinan Kaya
Quoted 13 lines · Khem Raj
python () {
arch =d.getVar("TARGET_ARCH")if arch == "aarch64":
tunes =d.getVar("TUNE_FEATURES")
if not tunes:
return
pkgn =d.getVar("PN")
pkgv =d.getVar("PV")
if "crypto" not in tunes:
raise bb.parse.SkipPackage("%s-%s Needs support for crypto
on armv8" % (pkgn, pkgv))
}
Quoted 2 lines
thanks, I'm adding this now.
Hmm....
I don't see a crypto feature on aarch64. tunes value return just aarch64.
Quoted 16 lines · Sinan Kaya
Quoted 14 lines · Sinan Kaya
Quoted 13 lines · Khem Raj
python () {
arch =d.getVar("TARGET_ARCH")if arch == "aarch64":
tunes =d.getVar("TUNE_FEATURES")
if not tunes:
return
pkgn =d.getVar("PN")
pkgv =d.getVar("PV")
if "crypto" not in tunes:
raise bb.parse.SkipPackage("%s-%s Needs support for crypto
on armv8" % (pkgn, pkgv))
}
Quoted 7 lines
Quoted 2 lines
thanks, I'm adding this now.
Hmm....
I don't see a crypto feature on aarch64. tunes value return just aarch64.
AFAIK, this is a AArch64 derivative-specific tune. For example, extracted from [meta/conf/machine/include/tune-cortexa53.inc]:
TUNE_FEATURES_tune-cortexa53 = "aarch64 cortexa53 crc"
TUNE_FEATURES_tune-cortexa53-crypto = "aarch64 cortexa53 crc crypto"
As you can see, there are 2 sets of features listed. Generic ARMv8 does not provide a Crypto extension, but individual A-profiles might have those integrated.
Quoted 6 lines
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 2 lines
Regards, Andrey.
Quoted 8 lines · Andrey Zhizhikin
AFAIK, this is a AArch64 derivative-specific tune. For example, extracted from [meta/conf/machine/include/tune-cortexa53.inc]:
TUNE_FEATURES_tune-cortexa53 = "aarch64 cortexa53 crc"
TUNE_FEATURES_tune-cortexa53-crypto = "aarch64 cortexa53 crc crypto"As you can see, there are 2 sets of features listed. Generic ARMv8 does not provide a Crypto extension, but individual A-profiles might have those integrated.
I see. I'll use this to test the recipe.
Quoted 8 lines · Khem Raj
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb line 2
Quoted 2 lines
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb new file +2
-0+SUMMARY = "Abseil is a cpp library like STL" +DESCRIPTION = "It's got containers, algorithms, useful stuff!"maybe we can be more specific about it from
https://github.com/abseil/abseil-cpp/blob/master/README.mdQuoted 1 line
+HOMEPAGE = ""
perhaps https://abseil.io/ instead of leaving it empty is better.
done
Quoted 4 lines
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb line 5
Quoted 2 lines
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb new file +2
-0+SECTION = "libs" +LICENSE = "Apache-2"The current value is not wrong but Apache-2.0 would be better to match SPDX
done
Quoted 9 lines
Quoted 9 lines
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb new file +9
-0+LIC_FILES_CHKSUM = "file://LICENSE;md5=df52c6edb7adc22e533b2bacc3bd3915" + +SRCREV = "aa844899c937bde5d2b24f276b59997e5b668bde" +BRANCH = "lts_2019_08_08" +SRC_URI = "git://github.com/abseil/abseil-cpp;branch=${BRANCH} \ + file://0001-Remove-maes-option-from-cross-compilation.patch \ + " + +S = "${WORKDIR}/git"
Quoted 8 lines
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb line 20
Quoted 7 lines
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb new file +6
-1+ +TARGET_CXXFLAGS += "${@bb.utils.contains('TARGET_ARCH', 'aarch64', ' -march=armv8-a+crypto', '', d)}" +TARGET_CXXFLAGS += "${@bb.utils.contains('TARGET_ARCH', 'x64', ' -maes -msse4.1', '', d)}" + +CXXFLAGS_append_class-nativesdk = " -Wl,--no-as-needed -fPIC" +CXXFLAGS_append_class-native = " -Wl,--no-as-needed -fPIC"perhaps use ASNEEDED_<override> = ""
done
Quoted 8 lines
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb line 26
Quoted 7 lines
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb new file +6
-0+CXXFLAGS_append_class-target = " -fPIC" + +inherit cmake + +BBCLASSEXTEND = "native nativesdk" +ALLOW_EMPTY_${PN} = "1"why do we need this ?
Library generates an empty $PN package and I had problems linking the library to the new grpc version without producing the empty ${PN}. This library is requires by the newer grpc versions.