Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 May 2007 22:57:38 +0200
From:      Ulrich Spoerlein <uspoerlein@gmail.com>
To:        Stephen Montgomery-Smith <stephen@math.missouri.edu>
Cc:        "\[LoN\]Kamikaze" <LoN_Kamikaze@gmx.de>, Pav Lucistnik <pav@freebsd.org>, freebsd-ports@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Time to abandon recursive pulling of dependencies?
Message-ID:  <20070515205738.GH1462@roadrunner.q.local>
In-Reply-To: <46488168.3030300@math.missouri.edu>
References:  <464665D5.1090509@math.missouri.edu> <464676CC.2000203@math.missouri.edu> <46469BF5.9030603@math.missouri.edu> <1179058696.13237.3.camel@ikaros.oook.cz> <20070513101332.L82202@math.missouri.edu> <46479215.1080401@math.missouri.edu> <4647C4FB.9050607@math.missouri.edu> <4647F182.6000402@gmx.de> <46487491.6020806@math.missouri.edu> <46488168.3030300@math.missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Stephen Montgomery-Smith wrote:
> And also, the only reason it goes slow is because it has to do
> (cd $$dir; make -V PKGNAME)
> for every dir in _LIB_RUN_DEPENDS.  But if instead we kept a file in /var/db/pkg called 
> something like +PACKAGE_NAMES, where as each port is created we add in a one line entry with 
> this mapping of origin to package name, then registration would take less than a second.  It 

I also need to quickly look up origin -> pkgname and would suggest
placing this in the INDEX file. Then you have the foundation in place to
be able to run 'make vim-7.1.2.tbz' in, say, /usr/ports/ and it will
first create gettext-x.y.tbz and stuff. Ie, it could resolve/build
dependencies *before* even starting the build in editors/vim.

This then quickly leads to parallel pkg builds working (think: make -j3
vim-7.x.y.tbz)

Ulrich Spoerlein
-- 
"The trouble with the dictionary is you have to know how the word is
spelled before you can look it up to see how it is spelled."
-- Will Cuppy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070515205738.GH1462>