From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 52C5B138010 for ; Wed, 5 Sep 2012 07:21:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 087BFE0793; Wed, 5 Sep 2012 07:21:20 +0000 (UTC) Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) by pigeon.gentoo.org (Postfix) with ESMTP id 45BADE0777 for ; Wed, 5 Sep 2012 07:20:26 +0000 (UTC) Received: by wgbds1 with SMTP id ds1so3643174wgb.4 for ; Wed, 05 Sep 2012 00:20:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :x-gm-message-state; bh=uf2KjJk+LdSu3rdlEy2rTJzTOud8TmDOaHmoqDeYskc=; b=CQqI2yqYx62ly/+FEpfHfgCnwz+OsYUXc4caVYM+42KR4TWPYwR3eqVZUyyDzuecsh 6dMJseoZgVbjAlkXdh+X81eBZgaI44fIPEPz9fFkkRp+1j36gftL1e+4I6CjlO+WCWcR UAZt/mrB7SO7YujHz5UjEhjbaq75qOeYHNE5Zaqgh03waH+nK6dSYvyi33v0pRv/aMsD n+1o3khuipWvRsaAmlHIlHA0UVAOjH6Ckwga0XEKPhfh3BXkK2QMKjHtRhgpQUuBozpc bu7i1ZSpLNQoiBbrxqZFSQwpyD3yl5xC88ehZs3Fxfj6z+zfZ6QMaxkRjcBrJbxrdRjY gv6Q== Received: by 10.217.1.201 with SMTP id n51mr2475460wes.124.1346829626333; Wed, 05 Sep 2012 00:20:26 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Sender: lxnay@sabayonlinux.org Received: by 10.223.86.71 with HTTP; Wed, 5 Sep 2012 00:19:45 -0700 (PDT) In-Reply-To: <50469795.2070901@gentoo.org> References: <50411874.4060204@gentoo.org> <20120831214611.088b3f50@googlemail.com> <50469795.2070901@gentoo.org> From: Fabio Erculiani Date: Wed, 5 Sep 2012 09:19:45 +0200 X-Google-Sender-Auth: BMEqNmZhHiWIWBiekYjAQe7f0wM Message-ID: Subject: Re: [gentoo-dev] HDEPEND (host dependencies for cross-compilation) for EAPI 5? To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQl5rzHmuHxs0SE6sZV44g9TpQREz6Dsmw+VXK5SAhwvZyks4ihlp9mVZ1fW4EeyJnZxNcTC X-Archives-Salt: 9782886a-ef4e-4394-9467-87feee8a14d9 X-Archives-Hash: 33007467a3ca3078d9cc1cea3f6f0dc6 On Wed, Sep 5, 2012 at 2:06 AM, Jorge Manuel B. S. Vicetto wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 31-08-2012 20:46, Ciaran McCreesh wrote: > > > >> Also, we're getting rather a lot of *DEPEND variables here... If >> we're making people make major changes to their deps, which for >> HDEPEND we definitely would be, then the "it's expensive since >> people would have to redo their deps" argument against a combined >> DEPENDENCIES variable goes out of the window, so we should rethink >> that too. > > I have to agree with Ciaran, instead of multiplying DEPEND variables, > it's probably time we move to a single DEPENDENCIES variable. So, let's say that I only want to apply a filter function against the buildtime dependencies, in that case I'd need to parse *all* the dependencies anyway? The complexity would become: O((b + r + p) * P) b = amount of buildtime dependencies r = amount of runtime dependencies p = amount of post-dependencies P = amount of packages i need to apply the filter to Instead of just: O(b * P) It sounds like a good "dis-optimization". Some pkgs have really long list of *DEPEND. > > - -- > Regards, > > Jorge Vicetto (jmbsvicetto) - jmbsvicetto at gentoo dot org > Gentoo- forums / Userrel / Devrel / KDE / Elections / RelEng > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.19 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iQIcBAEBAgAGBQJQRpeVAAoJEC8ZTXQF1qEP/UgQALd+7oqAODQA5bXdyqV+Qix+ > mDN66c/6UO4VS2dyhfCEyA3osJzFS4u6mIuR7uFpXoKXGGs+MYdl7EG9C0k48zUu > YLCDD56oyk6wACxBk7EHWVql1rvFoFemMUw5YUVq71w3FU9hrpBi/DXKsoAlCRyw > 4B2p6t8p6efll3vzbcz7M0LZseiox4GBTFCrtxR5zwgvx3b0gKvgU1Pv+AT3SBQK > J3IOxb09GSLCJKo56+iDHGuS5RwBBmdWP9l3+AdbjR2LoQ05f8o8a7/geg1Qqg/Z > gVVSo4WDN2kIDJOvCBuXuo95a0KKFt/zUgfwjsqe02fRu2mDiWAju4L6vk2WE316 > 4yfMULI6HrVUk3ra+O4ZW7eoOuRvPVDpr4vyCVetFe4bx+zmlo/CmzOg/2teMyoc > rlMvOigR/4D+wxX7mbw/0fwZ5tVUbZ2pkdEhKetlpDe+xbWY0LhaczKdizwF7BrT > d+BeazPGWBP/muY0s3VDu3KV/3TRS0tME8GRsDevA9nCfA2plU0ZmmZnTB69tLc+ > /dgdexHhc3IuA5eMObwOfSK6r9Jozlrv09TDvb6kHXm+0kqhV/W/aaS1qT4Bjlxd > psMjf9lSJHLcXuhtOz9OW4qmhp4BGCA8Rgeoq25Yw8E2eH0abvDbHR5U7u1hEpnQ > j6rJ0fZ27tfbMecd5i8b > =Zv/I > -----END PGP SIGNATURE----- > -- Fabio Erculiani