From: Sinan Kaya <okaya@kernel.org>
To: Khem Raj <raj.khem@gmail.com>
Cc: Sinan Kaya <sinan.kaya@microsoft.com>,
openembeded-devel <openembedded-devel@lists.openembedded.org>,
Changyi Li <Changyu.Li@microsoft.com>
Subject: Re: [meta-oe][PATCH] abseil-cpp: add recipe for git version
Date: Mon, 10 Feb 2020 11:31:33 -0500 [thread overview]
Message-ID: <784d11f6-ae33-dc1e-da43-6a71824ec0a6@kernel.org> (raw)
In-Reply-To: <CAMKF1sorVApNQ69i3QOUiK6yF1gCvubzNvT=VMkjPcFtK+XC+w@mail.gmail.com>
On 2/9/2020 2:53 AM, Khem Raj wrote:
>> +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
>
>> +HOMEPAGE = ""
> perhaps https://abseil.io/ instead of leaving it empty is better.
>
done
>> +SECTION = "libs"
>> +LICENSE = "Apache-2"
> The current value is not wrong but Apache-2.0 would be better to match SPDX
>
done
>> +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"
> perhaps use ASNEEDED_<override> = ""
done
>
>> +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.
prev parent reply other threads:[~2020-02-10 16:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-09 3:46 [meta-oe][PATCH] abseil-cpp: add recipe for git version Sinan Kaya
2020-02-09 7:53 ` Khem Raj
2020-02-09 16:56 ` Khem Raj
2020-02-09 17:45 ` Sinan Kaya
2020-02-09 18:40 ` Khem Raj
2020-02-10 16:33 ` Sinan Kaya
2020-02-10 17:14 ` Sinan Kaya
2020-02-10 17:22 ` Andrey Zhizhikin
2020-02-10 17:39 ` Sinan Kaya
2020-02-10 16:31 ` Sinan Kaya [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=784d11f6-ae33-dc1e-da43-6a71824ec0a6@kernel.org \
--to=okaya@kernel.org \
--cc=Changyu.Li@microsoft.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=raj.khem@gmail.com \
--cc=sinan.kaya@microsoft.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.