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 C6238A04DD; Mon, 20 Jan 2020 16:29:40 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1F9C91B952; Mon, 20 Jan 2020 16:29:40 +0100 (CET) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id A920414583; Mon, 20 Jan 2020 16:29:38 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 328592177A; Mon, 20 Jan 2020 10:29:38 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 20 Jan 2020 10:29:38 -0500 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=mesmtp; bh=FbuoacUfBSHJtDi5inO8grJ2I/sWrLB41n6hDPeP1r0=; b=evhFqq92D5BL 4pF2UFJxdKNN/YXIccAyL4mCw9RnWoBbO5D+re3MTZ/XkCmfqFAbfWnyw5Aagm9R C4HHppf8BjaDAMNTVpf9513pOwJAEVFsOp0kwDD2l3HdadTxiW9xqPbz9HWst61x sBH3NJiC0zHeeHb1ibQLcEXwSmd6r5Q= 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=fm1; bh=FbuoacUfBSHJtDi5inO8grJ2I/sWrLB41n6hDPeP1 r0=; b=YYCXCeSffnlawtP7au+cX7WEb5kcf2kLnMuTQATpoRyqqFbOgGeYJzlDV KagXBTyznP6jliYV0Culqbom+g9+zGC9J6YED2fcM8SjdiGneY0yB6/NugMVkwM0 MP/HQXbtZ/m+WJQSwGWqdXTkeOnV9Kp3EY8sJ/A4K/g8iI7PZ3IOC3jT/j+KNLJL jCTc449lKGRzbCFiAo+0wPBkH0r87bwzKRHf8VigzV+ObIwgbafZkfhKNVTyatn4 ZL30ir5ewocv6/mGCSu52tDOgVFyns9gmLKT0aFzWQLouJ0ijrouYSCkvTc4tZvH LudB3FtvUsGcBVP0BHpPlmSbU3ryQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudeigddugecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id A133880064; Mon, 20 Jan 2020 10:29:36 -0500 (EST) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org, stable@dpdk.org, aconole@redhat.com Date: Mon, 20 Jan 2020 16:29:35 +0100 Message-ID: <2691914.dT8XKq9c71@xps> In-Reply-To: <20200120122218.38703-1-bruce.richardson@intel.com> References: <20200120122218.38703-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] app/test: fix dependency on file in /sys 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" 20/01/2020 13:22, Bruce Richardson: > Meson versions 0.52 and 0.53 are being overly smart and detecting the path > "/sys/devices/system/cpu/present" in the call to cat in > app/test/meson.build and then adding it as a dependency to the build > configuration. This causes issues on systems where the timestamp of that > file always returns the current time, since it means that the build.ninja > file is always out of date, and therefore needs to be rebuilt. > > We can fix this by just using a simple shell script to return the coremask > appropriately for BSD and Linux, and removing that code logic from meson - > thereby hiding the use of the /sys file. > > Fixes: c70622ac6f72 ("test: detect number of cores with meson") > Cc: aconole@redhat.com > Cc: stable@dpdk.org > > Signed-off-by: Bruce Richardson Thanks a lot Bruce, meson stops reconfiguring, this is a life changer! Applied (with new script added in MAINTAINERS), thanks