Gentoo Archives: gentoo-portage-dev

From: Brian Dolbec <dolsen@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] circular_dependency_handler: limit USE combination search (bug 555698)
Date: Mon, 03 Aug 2015 18:11:18
Message-Id: 20150803111109.73eee4a3.dolsen@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH] circular_dependency_handler: limit USE combination search (bug 555698) by Zac Medico
1 On Mon, 3 Aug 2015 10:45:24 -0700
2 Zac Medico <zmedico@g.o> wrote:
3
4 > Limit the number of USE combinations searched to 1024 = 2 ** 10, where
5 > 10 is a constant named MAX_AFFECTING_USE, in order to avoid consuming
6 > unreasonable amounts of time. First, discard irrelevent flags that are
7 > not enabled. Since extract_affecting_use doesn't distinguish between
8 > positive and negative effects (flag? vs. combinations, then don't
9 > bother to explore any of them.
10 >
11 > X-Gentoo-Bug: 555698
12 > X-Gentoo-Bug-url: https://bugs.gentoo.org/show_bug.cgi?id=555698
13 > ---
14 >
15
16 That's better, thanks
17
18 looks good
19
20 --
21 Brian Dolbec <dolsen>