From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DDBA2A04B5; Mon, 16 Nov 2020 17:16:39 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D0230323E; Mon, 16 Nov 2020 17:16:37 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 2C3E72C16 for ; Mon, 16 Nov 2020 17:16:36 +0100 (CET) IronPort-SDR: bYIxhkfhSoogfFejfyZkH6iZUEBT0U40eLCLvd0T4iuwWmAjv/LZ9dCYeSaiNjD7Gpx6KYaq6X XiJNUR779E3w== X-IronPort-AV: E=McAfee;i="6000,8403,9807"; a="188815195" X-IronPort-AV: E=Sophos;i="5.77,483,1596524400"; d="scan'208";a="188815195" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Nov 2020 08:16:32 -0800 IronPort-SDR: Z+1zRoffO5MI02THqrVHFxQagQ/AUfdx28JoNdjnC+hNerBOHF/1zdKYqWWpb7/f2SnFpkw0mY 6DnHJCvqcWRg== X-IronPort-AV: E=Sophos;i="5.77,483,1596524400"; d="scan'208";a="543658455" Received: from bricha3-mobl.ger.corp.intel.com ([10.251.82.79]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 16 Nov 2020 08:16:29 -0800 Date: Mon, 16 Nov 2020 16:16:25 +0000 From: Bruce Richardson To: Juraj =?utf-8?Q?Linke=C5=A1?= Cc: Thomas Monjalon , "Ruifeng.Wang@arm.com" , "Honnappa.Nagarahalli@arm.com" , "Phil.Yang@arm.com" , "vcchunga@amazon.com" , "Dharmik.Thakkar@arm.com" , "jerinjacobk@gmail.com" , "hemant.agrawal@nxp.com" , "ajit.khaparde@broadcom.com" , "ferruh.yigit@intel.com" , "dev@dpdk.org" Message-ID: <20201116161625.GD1469@bricha3-MOBL.ger.corp.intel.com> References: <1605267483-13167-1-git-send-email-juraj.linkes@pantheon.tech> <1605277875-13625-1-git-send-email-juraj.linkes@pantheon.tech> <1605277875-13625-2-git-send-email-juraj.linkes@pantheon.tech> <2229544.2N8hPJKjIu@thomas> <07b6f43151274919aa062765e4e1f819@pantheon.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <07b6f43151274919aa062765e4e1f819@pantheon.tech> Subject: Re: [dpdk-dev] [PATCH v12 01/14] build: alias default build as generic X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" On Mon, Nov 16, 2020 at 03:50:31PM +0000, Juraj Linkeš wrote: > > > > -----Original Message----- > > From: Thomas Monjalon > > Sent: Monday, November 16, 2020 8:33 AM > > To: Juraj Linkeš > > Cc: bruce.richardson@intel.com; Ruifeng.Wang@arm.com; > > Honnappa.Nagarahalli@arm.com; Phil.Yang@arm.com; > > vcchunga@amazon.com; Dharmik.Thakkar@arm.com; jerinjacobk@gmail.com; > > hemant.agrawal@nxp.com; ajit.khaparde@broadcom.com; > > ferruh.yigit@intel.com; dev@dpdk.org > > Subject: Re: [dpdk-dev] [PATCH v12 01/14] build: alias default build as generic > > > > 13/11/2020 15:31, Juraj Linkeš: > > > The current machine='default' build name is not descriptive. The > > > actual default build is machine='native'. Add an alternative string > > > which does the same build and better describes what we're building: > > > machine='generic'. Leave machine='default' for backwards compatibility. > > > > What? > > > > "generic" means... nothing. > > > > An absence of anything means nothing. Generic means "characteristic of or relating to a class or group of things; not specific", which is pretty much what we're looking for. > > > "default" should be the most common set of options to make a build work > > everywhere. > > What we want is a value of machine that would "be the most common set of options to make a build work everywhere" and using the above definition of generic, it fits very well. > The reason I said the actual default build is machine='native' is because that's how the machine option is defined in meson_options.txt. It follows from what default actually means - "a preselected option adopted by a computer program or other mechanism when no alternative is specified by the user or programmer". Default then means no user input, which means machine='native', which means the default build is the default build. > > What ""default" should mean" looks like an attempt at redefining what the word actually means and leads to confusion, in my experience. Hence an attempt to remove the potential ambiguity. > I would tend to agree that "generic" is probably a better term than "default" for what we use it for here in the config. /Bruce