From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1Su93I-0006tr-9L for bitbake-devel@lists.openembedded.org; Wed, 25 Jul 2012 23:23:29 +0200 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q6PLBwOT014905 for ; Wed, 25 Jul 2012 22:11:58 +0100 Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14132-04 for ; Wed, 25 Jul 2012 22:11:54 +0100 (BST) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q6PLBmBC014899 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 25 Jul 2012 22:11:50 +0100 Message-ID: <1343250708.29991.2.camel@ted> From: Richard Purdie To: bitbake-devel Date: Wed, 25 Jul 2012 22:11:48 +0100 X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 X-Virus-Scanned: amavisd-new at rpsys.net Subject: [PATCH] runqueue.py: Wipe out the stamp cache between setscene and main task execution X-BeenThere: bitbake-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 21:23:29 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit The stamp files can change during setscene and the cache should be cleared to account for this. Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index ca5fe97..d3a1d2d 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py @@ -1170,6 +1170,8 @@ class RunQueueExecuteTasks(RunQueueExecute): self.stats = RunQueueStats(len(self.rqdata.runq_fnid)) + self.stampcache = {} + # Mark initial buildable tasks for task in xrange(self.stats.total): self.runq_running.append(0)