Subject: Re: Why pkgsrc "sucks"
To: Pavel Cahyna <pavel.cahyna@st.mff.cuni.cz>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 09/03/2005 20:41:06
On Sat, 3 Sep 2005, Julio M. Merino Vidal wrote:

>>>> Does the bulk build framework allow incremental compiling of only
>>>> those packages that have changed?
>>>
>>> It's explicitly designed to do that.
>>
>> Interesting. How is it achieved? By examining timestamps on package
>> Makefiles and rebuilding only those packages whose Makefiles changed more
>> recently than corresponding binary packages?
>
> It builds packages that have been updated between runs (their
> version or revision has changed) and also rebuilds all packages
> depending on them (to ensure that library dependencies are correct,
> etc., etc.).
>
> You can also change it through a variable to test timestamps instead
> of package versions.  Or maybe it was the other way around; I don't
> remember which one is the default ATM...

I use:

# so bulk build does not rebuild packages unnecessarily
USE_BULK_TIMESTAMPS=no

The default is:
USE_BULK_TIMESTAMPS?= yes

Either way it doesn't rebuild packages that have not changed.

  Jeremy C. Reed

  	  	 	 BSD News, BSD tutorials, BSD links
 	  	 	 http://www.bsdnewsletter.com/