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 B82E5A0A0C; Fri, 9 Jul 2021 14:30:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 491804014D; Fri, 9 Jul 2021 14:30:57 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id 4775340143 for ; Fri, 9 Jul 2021 14:30:55 +0200 (CEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 4353D5C00E2; Fri, 9 Jul 2021 08:30:54 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 09 Jul 2021 08:30:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= f9jvwtiC0QXOiuSds+pvcnjz1/X6Pham8c8okdOANJY=; b=vog3Zx9rElHj5JQn fKoFhz4zVQfT71EZoW8Dk3+ZD3udwrG3gDMPdH0gDyzFnZDM+gEdG+jL3rrm5LL7 06//6/XzXStWCN3nl9b3dkvk8/uCUagDVyOsLvAGFiWdWyHRZc4f9xMr1nfUHs0V b+pA6i9Dss6edYuQ+CJsfw/xlRtNBSgwjlYgmzd+f6XfYmKJvPwzpBo4F0R0hGuU rWS1ZWN4w5qM5vzX6qa5cNYnD/CKLq2lVLCtq7ogochVEq6yB5HcVbW07vFdSkmy lLqzQC0eNs4EYBGQ9e6q/YFXcTshQYlECVc3WgM7+DiOD3RTAfu3EsVGHsODdVm8 qInEdg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=f9jvwtiC0QXOiuSds+pvcnjz1/X6Pham8c8okdOAN JY=; b=D6BtTh90iZFdTdq9OLrYm9IJQoka999yRpKh49F5grNtRgFiwY93XvuBQ IHaVyul8IABZVcl7FUQLyUpB8vDbW33keVw/XavJNk70ck+v3ctfWx7m/jV382rY 2kDTRPft5cnNmmjaXo1ufLtR5ZeRVwAcusjZy/P0/TtS7q11D+tltoJYxN0R3UaS R77Jdg7DBPoh1JA1CHDVDw7Dy13Db0Umikuqc/3IIKhk57aI1S0mM3E+PxERPGBb 5TwQxAbz+/EL74lSlHuxis5rZB8Fqqgj6PDf5bPmc+OsriAi6V3bPTXlrlE232LC G/RjyPGXOR9QLwD6cFfrW7sjQw5Ig== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrtdeigdehudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthhqredttddtjeenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpeekteehtdeivefhieegjeelgedufeejheekkeetueevieeuvdevuedt jeevheevteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 9 Jul 2021 08:30:52 -0400 (EDT) From: Thomas Monjalon To: Juraj =?utf-8?B?TGlua2XFoQ==?= , Bruce Richardson Cc: dev@dpdk.org, david.marchand@redhat.com, Honnappa.Nagarahalli@arm.com, Ruifeng.Wang@arm.com, ferruh.yigit@intel.com, jerinjacobk@gmail.com Date: Fri, 09 Jul 2021 14:30:51 +0200 Message-ID: <5130808.toJiOpdy7k@thomas> In-Reply-To: References: <1625058550-9567-1-git-send-email-juraj.linkes@pantheon.tech> <1625564668-23695-1-git-send-email-juraj.linkes@pantheon.tech> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v7] build: use platform for generic and native builds 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 Sender: "dev" 07/07/2021 15:59, Bruce Richardson: > On Tue, Jul 06, 2021 at 11:44:28AM +0200, Juraj Linke=C5=A1 wrote: > > The current meson option 'machine' should only specify the ISA, which is > > not sufficient for Arm, where setting ISA implies other settings as well > > (and is used in Arm configuration as such). > > Use the existing 'platform' meson option to differentiate the type of > > the build (native/generic) and set ISA accordingly, unless the user > > chooses to override it with a new option, 'cpu_instruction_set'. > > The 'machine' option set the ISA in x86 builds and set native/default > > 'build type' in aarch64 builds. These two new variables, 'platform' and > > 'cpu_instruction_set', now properly set both ISA and build type for all > > architectures in a uniform manner. > > The 'machine' option also doesn't describe very well what it sets. The > > new option, 'cpu_instruction_set', is much more descriptive. Keep > > 'machine' for backwards compatibility. > >=20 > > Signed-off-by: Juraj Linke=C5=A1 >=20 > Acked-by: Bruce Richardson Applied, thanks. I did few doc formatting improvements and removed some mentions to Arm as a SoC is not necessarily Arm (Risc-V is coming).