From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6C376A00C2; Thu, 23 Jun 2022 10:05:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5EC2E40DDB; Thu, 23 Jun 2022 10:05:03 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 47EF0427EA for ; Thu, 23 Jun 2022 10:05:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1655971500; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SgfjMjbb0cg4gqaBgztO5FvgqhXyl5OQcYMstQGemIo=; b=GxrFmzvfht1Ww/JvXVsJxkVUTNEoW0K4mvrXUCiah/vtMWN/MAQGGZQxXiu0GsEAMUPcK2 bFnJxpy+7FUusEPai82TjK1Yai0AtakP5WqMQwi0m8qBW8mDxIk8mLWjc2aXVLRPYhltg/ x2CFDJ/kPPtaJcO45NkfpdRbhDCeVog= Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-537-y7q35Z4qN_iAunHQ4fB9gg-1; Thu, 23 Jun 2022 04:04:59 -0400 X-MC-Unique: y7q35Z4qN_iAunHQ4fB9gg-1 Received: by mail-lf1-f71.google.com with SMTP id b2-20020a0565120b8200b00477a4532448so9671426lfv.22 for ; Thu, 23 Jun 2022 01:04:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SgfjMjbb0cg4gqaBgztO5FvgqhXyl5OQcYMstQGemIo=; b=c1TIBsL9briqWm9hjf7/SQeVJ0CW9/qf1kCqVjvk7YI4VaaX7DJOkP6jJpwvFLxJB5 tF2zyeyLKJPTo9Wzj9Cgt8iA/vMAkcr8194Wg6YNIK5g/TPVcnydStwPSnvy17zGF5of XKZZGiS/ArTn39gn0JDcFVWsHWZ0Udydn0cm+0JVrfa4MeCDhsXSoMO75oi2IhibKPjx aZsZ1R4x/mwjqf1QQcF2vGHqBDl73yyoe2Hfh0PosDxCaD6KR3NSh5MJob6Ag8HNRxwM uG3neGgDhnqicB7E3gs43CMg4zLXucbvkcqjn0YKbPRmGpbwfIU+JMCWDGUIxxYyUPaa 3E2Q== X-Gm-Message-State: AJIora+pqZ/eN2rYUxsr2dm0xg189iXPLRIGWoVmG1UOEYGtjS2jS/LK /piypMv79yyrks5soYR44tlamglu/7blAtymlqAQB4UywhzzJfrR446VNOydUPiegWsApkTPPKk jezl6lvgNuPQBNNPl+sg= X-Received: by 2002:ac2:51a5:0:b0:47f:79a1:5c02 with SMTP id f5-20020ac251a5000000b0047f79a15c02mr4654380lfk.575.1655971497917; Thu, 23 Jun 2022 01:04:57 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vaZiwdvwXHPiPpPr8qewtPQ5yAjOgfn2wLsJcHkirwuUSpIUngwSoAhnxhWCF1aGbb1e6YV7Fbl0FVV9Wi0t0= X-Received: by 2002:ac2:51a5:0:b0:47f:79a1:5c02 with SMTP id f5-20020ac251a5000000b0047f79a15c02mr4654373lfk.575.1655971497731; Thu, 23 Jun 2022 01:04:57 -0700 (PDT) MIME-Version: 1.0 References: <20220621122824.187905-1-kda@semihalf.com> In-Reply-To: <20220621122824.187905-1-kda@semihalf.com> From: David Marchand Date: Thu, 23 Jun 2022 10:04:46 +0200 Message-ID: Subject: Re: [PATCH 0/2] fix C++ include checks in cross-compilation To: Stanislaw Kardach Cc: dev , upstream@semihalf.com Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Tue, Jun 21, 2022 at 2:28 PM Stanislaw Kardach wrote: > > Meson detects the C++ cross-compiler during configuration and based on > that reports whether C++ language is available or not. > The C++ include check target (buildtools/chkincs/chkincs-cpp) is only > built when C++ language is available. > > There are 2 issues that currently prevent those checks to be run in > cross-compiled environments: > > * PowerPC and ARM cross-files define cpp instead of g++ as C++ compiler. > That's wrong because cpp is a C Preprocessor binary. > * The CI workflow file does not install a g++ cross-compiler. > > This patchset fixes both issues. > > Stanislaw Kardach (2): > config: Use G++ as C++ compiler > ci: use crossbuild-essential packages Series applied, thanks Stanislaw. -- David Marchand