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 3F7ACA0597; Thu, 9 Apr 2020 21:24:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 246131C2AF; Thu, 9 Apr 2020 21:24:55 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 2B9C21C136 for ; Thu, 9 Apr 2020 21:24:54 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id A128A5C26C3; Thu, 9 Apr 2020 15:24:53 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Thu, 09 Apr 2020 15:24:53 -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=mesmtp; bh=fY6AINZIF8iEh8ngKBtNzr+wynIPLs1ZmYE8wC7y3pc=; b=VefN88l8AAPR 2dNIatVGMmd+7baAoCW8pp48w9KvUoliGIPTM9+/nmR3F+KPn7e1p3nPWYFRF/IY xOmsZUMOeXeFulGf+bSJi14HO5EKzNfr740ddq5lnC2No8r02P1Fn64MZ2ACW8no tpUMYQ038rPZzf/iXpud9KjE23Cr+4A= 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=fm2; bh=fY6AINZIF8iEh8ngKBtNzr+wynIPLs1ZmYE8wC7y3 pc=; b=fKxmMPe0VU/zhxrocIk+oFxOznJDePeTePSIDocr8oZ5wMo7SGvemQP5X 72cvEpl/Ab1v0k+XIVukFemnkh06hGDq/HCyqGuArNHTo99f+wWU878gSi0pQUmu wMyzu7sX0t5t+IeGUTLTOGPxwMqRqD8IaKc5FL8r+fF4q2k59O16bCCVX8pjcYnr YfN45mR/mC57oQLCGpxuweFIJWb32Eah/QLqUqaEc2Da0n/k9rTbGbezZDSTOjkF 93wt5xtrcsyq+8/Slh4gpBf5MJ2641yo4tLe59zF/15mOAt7N0NOjnY8kuGPDhdl i4i5nC0/i/LgsC0AI+51KHvcGC1Cg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudelgddufedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght 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 63A043060062; Thu, 9 Apr 2020 15:24:50 -0400 (EDT) From: Thomas Monjalon To: Lukasz Wojciechowski Cc: dev@dpdk.org, bruce.richardson@intel.com, Ruifeng Wang , Gavin Hu , Aaron Conole , David Marchand Date: Thu, 09 Apr 2020 21:24:47 +0200 Message-ID: <1676204.yIU609i1g2@thomas> In-Reply-To: <8ef66748-745c-1f22-9985-536ab9a62272@partner.samsung.com> References: <20200409180332.592074-1-thomas@monjalon.net> <8ef66748-745c-1f22-9985-536ab9a62272@partner.samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] test: remove meson dependency on /proc file 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" 09/04/2020 20:10, Lukasz Wojciechowski: > > W dniu 09.04.2020 o 20:03, Thomas Monjalon pisze: > > Meson is detecting the path /proc/sys/vm/nr_hugepages in the call to cat > > in app/test/meson.build and then adding it as a build dependency. > > This causes build loop if the timestamp of this file keeps changing. > > > > It is fixed by hiding hugepage check in a shell script. > > > > Fixes: 77784ef0fba8 ("test: allow no-huge mode for fast-tests") > > > > Signed-off-by: Thomas Monjalon > > --- > > +linux_hugepages_number=/proc/sys/vm/nr_hugepages > > + > > +if [ -r "$linux_hugepages_number" ] ; then > > + cat /proc/sys/vm/nr_hugepages > cat $linux_hugepages_number True, thank you :-)