Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(377)

Issue 3047009: Fix infinite recursion in PrebuiltsReady when graph is cyclic. (Closed)

Created:
10 years, 5 months ago by davidjames
Modified:
9 years, 4 months ago
Reviewers:
petkov, nsanders, sosa
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa, zel
Base URL:
ssh://git@chromiumos-git/crosutils.git
Visibility:
Public.

Description

Fix infinite recursion in PrebuiltsReady when graph is cyclic. Our package graph is cyclic, so parallel_emerge needs to handle cycles correctly in all cases. PrebuiltsReady should only need to check each package once, so we should set cache[pkg] to True if we found the package in the cache. TEST=Ran build_packages --fast BUG=none

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M parallel_emerge View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
davidjames
This should fix the problems regarding infinite recursion in PrebuiltsReady. I'm on a plane, so ...
10 years, 5 months ago (2010-07-21 21:09:18 UTC) #1
petkov
LGTM
10 years, 5 months ago (2010-07-21 21:14:58 UTC) #2
sosa
10 years, 5 months ago (2010-07-21 21:18:13 UTC) #3
LGTM -- wanted to test the patch fixed my issue and it worked :)

On Wed, Jul 21, 2010 at 2:14 PM,  <petkov@chromium.org> wrote:
> LGTM
>
>
> http://codereview.chromium.org/3047009/show
>

Powered by Google App Engine
This is Rietveld 408576698