All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Chernikov <p.chernikov@yadro.com>
To: "throos@amazon.de" <throos@amazon.de>,
	"openembedded-devel@lists.openembedded.org"
	<openembedded-devel@lists.openembedded.org>
Subject: RE: [oe] [PATCH] abseil-cpp: readd use of -std=c++14
Date: Tue, 9 Jan 2024 13:14:50 +0000	[thread overview]
Message-ID: <ef51d077705d4eee96737ba74262bc07@yadro.com> (raw)
In-Reply-To: <20240109124350.206419-1-throos@amazon.de>

Perhaps, better solution is to use c++17 for both packages:
https://github.com/protocolbuffers/protobuf/issues/10768#issuecomment-1773175439

Regards
Pete

-----Original Message-----
From: openembedded-devel@lists.openembedded.org <openembedded-devel@lists.openembedded.org> On Behalf Of Thomas Roos via lists.openembedded.org
Sent: Tuesday, January 9, 2024 3:44 PM
To: openembedded-devel@lists.openembedded.org
Cc: Thomas Roos <throos@amazon.de>
Subject: [oe] [PATCH] abseil-cpp: readd use of -std=c++14

From: Thomas Roos <throos@amazon.de>

Protobuf is compiled with -std=c++14, so abseil-cpp must be as well.
Details can be found here: https://github.com/protocolbuffers/protobuf/issues/10768

Signed-off-by: Thomas Roos <throos@amazon.de>
---
 meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb
index ee62d4b59..1a713e1c5 100644
--- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb
+++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb
@@ -26,6 +26,7 @@ ASNEEDED:class-nativesdk = ""
 inherit cmake

 EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \
+                 -DCMAKE_CXX_STANDARD=14 \
                  -DBUILD_TESTING=OFF    \
                  -DABSL_ENABLE_INSTALL=ON \
                 "
--
2.34.1




Amazon Web Services EMEA SARL
38 avenue John F. Kennedy, L-1855 Luxembourg Sitz der Gesellschaft: L-1855 Luxemburg eingetragen im Luxemburgischen Handelsregister unter R.C.S. B186284

Amazon Web Services EMEA SARL, Niederlassung Deutschland Marcel-Breuer-Str. 12, D-80807 Muenchen Sitz der Zweigniederlassung: Muenchen eingetragen im Handelsregister des Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094





  reply	other threads:[~2024-01-09 13:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-09 12:43 [PATCH] abseil-cpp: readd use of -std=c++14 throos
2024-01-09 13:14 ` Petr Chernikov [this message]
     [not found] ` <17A8B01D06ADC5D0.21327@lists.openembedded.org>
2024-01-09 13:24   ` [oe] " Petr Chernikov
     [not found]   ` <17A8B0A1D52DEE2E.21327@lists.openembedded.org>
2024-01-09 13:26     ` Petr Chernikov
2024-01-09 15:01       ` AW: " Roos, Thomas

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=ef51d077705d4eee96737ba74262bc07@yadro.com \
    --to=p.chernikov@yadro.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=throos@amazon.de \
    /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.