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 9B7B4A00C5; Tue, 21 Jun 2022 13:06:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3DA484069C; Tue, 21 Jun 2022 13:06:06 +0200 (CEST) Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) by mails.dpdk.org (Postfix) with ESMTP id 8510A40151 for ; Tue, 21 Jun 2022 13:06:05 +0200 (CEST) Received: by mail-lf1-f53.google.com with SMTP id a2so21737262lfg.5 for ; Tue, 21 Jun 2022 04:06:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=nOb4MhdBt3kEM2J1UtQnJ2swO5PFLMolKN6zg4XCKHQ=; b=OSihfijzdaQG3ceb7JFH82dhKL5Zpv6pJBw2p7u+iPyDWl39DmMSwDnwATjP3o0zYj +NXN/1aK++MElB6NmXLm500mK4pnXwmpLFVU87/S9oiOKbOvTdZZ+m+Cs0SNis4Ukr9m EU0vgvIAIpKIKwX6Cp7DmgsWdwTQYcLEttF52XMntHix1jzy9udysaMxnBsCyB1zB6g8 AnwEsHgEeKKYcBKVY+5DGD+yZHqZjsiAh34tYcpHLUt7ol50MCShnUNl+zzEK/zeaPQH KDUqdgHv2WaIbEMoWKvfzpJGjSYLezP44BUhON2F7wiTvTq0YTUJ0f9EKFv/174G23jE O4Zw== 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:content-transfer-encoding; bh=nOb4MhdBt3kEM2J1UtQnJ2swO5PFLMolKN6zg4XCKHQ=; b=0UZlLhzfo0LiT+bhPxu8UoU0dHFbvUwQ9VjIZTCA6i/SpTohPl+neeZZErmlaPpogt +GFYa3YlpZAJWkZDmRu7WgBaL37uh0TkKvdws+yd919YCNInVtWmn3buHuPqFLuaTI1C P8lmY3pmWFndsR/UUIfL1hwQy3HQ6Mh2S9wHbx7G/N/yTFOGIsfct9O3Y8bjhP5WVfir vXeynsTAtVi7OESh2Y/Y9ei7xt44CCStIrevSAO4wl7QNPPxMieCopgwoGvKHsOdamCu zpYu/noKQnyAZEzgXy63//mKmu+bkdRztZOVxxGpNR7rY8A8XlB9cNixp096M6VwsjQq Ybbw== X-Gm-Message-State: AJIora+rDaIIwK0R/KWW1FzKrpsDS3iL/inIi0UkcOmK5txerbHofA7w OoSwpGaRZ1luMyLPuLsjGuU8SHII/Yv0O6qB4yDrvw== X-Google-Smtp-Source: AGRyM1vluMdG7DFNsjNx/rUkhPRwZ0kmDvVmBnywSzdlYXr8w7GWog7VgXH94aekLf3a8yXlJFHH0o940qoUTjuyIhU= X-Received: by 2002:a05:6512:1191:b0:47f:78ad:51f5 with SMTP id g17-20020a056512119100b0047f78ad51f5mr3479701lfr.542.1655809565024; Tue, 21 Jun 2022 04:06:05 -0700 (PDT) MIME-Version: 1.0 References: <20220609121701.716299-1-kda@semihalf.com> <4127934.SvYEEZNnvj@thomas> In-Reply-To: <4127934.SvYEEZNnvj@thomas> From: =?UTF-8?Q?Stanis=C5=82aw_Kardach?= Date: Tue, 21 Jun 2022 13:05:29 +0200 Message-ID: Subject: Re: [PATCH 0/3] Fix xmm_t to rte_xmm_t scalar conversion To: Thomas Monjalon Cc: Bruce Richardson , David Christensen , David Marchand , dev , upstream@semihalf.com, Aaron Conole , "Ananyev, Konstantin" , "Ruifeng Wang (Arm Technology China)" , Jerin Jacob Kollanukkaran Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 12:22 PM Thomas Monjalon wrot= e: > > 21/06/2022 11:49, Bruce Richardson: > > On Tue, Jun 21, 2022 at 11:42:55AM +0200, Stanis=C5=82aw Kardach wrote: > > > On Tue, Jun 21, 2022 at 11:39 AM Bruce Richardson > > > wrote: > > > > > > > > Generally the "cpp" binary is not the c-plus-plus one, but the C > > > > preprocessor one. Perhaps the original files are incorrect here, an= d should > > > > all refer to g++. > > > > > > > > /Bruce > > > > > > > That does make sense. I'll submit a separate patchset fixing all > > > occurrences (of which there are many). > > > > > > > As a more general note for future consideration, I notice that in meson > > 0.56 the cross-file support has been enhanced with the ability to use > > constants and therefore separate out prefixes.[1] > > > > When we get to the point where we feel we can mandate meson 0.56 upward= s > > for cross compilation, we should look to leverage this. It should even > > allow other scripts such as test-meson-builds to auto-generate the cons= tant > > paths to the binaries on the fly, effectively allowing the use of > > environment variables for these - something previously requested by Tho= mas. > > That would be great. > Cross compilation prefix is such a basic thing, we should handle it prope= rly. Please correct me if I'm wrong but it seems that meson's approach to cross-compiling is to package all settings into cross-files. Probably under assumption that a repeatable compilation is more important than flexibility and that there are compiler-specific knobs that need/can to be tuned. Therefore reading CROSS_COMPILE/prefix from environment is intentionally made hard. So should the direction be environment or rather separating cross-files into arch-part and toolchain-parts and letting user create his own toolchain part while maintaining a matrix of supported combinations for CI? I'm not advocating either, just want to wrap my head around it. > > > [1] https://mesonbuild.com/Machine-files.html#constants > > >