[libdispatch-dev] Lion branch porting status

Mark Heily mark at heily.com
Tue Aug 30 18:40:50 PDT 2011


On 08/30/2011 03:59 AM, Jean-Daniel Dupas wrote:
>
> Le 30 août 2011 à 07:59, Jordan K. Hubbard a écrit :
>
>>
>> On Aug 29, 2011, at 7:07 PM, Daniel A. Steffen wrote:
>>
>>> nice! not sure we want to import all those libraries into the
>>> macosforge repo though, can we provide instructions/scripts to
>>> download them automatically from a canonical location ? (similarly to
>>> the macosx build dependencies on Libc/xnu sources)
>>
>> Would some clever svn:external
>> <http://svnbook.red-bean.com/nightly/en/svn.advanced.externals.html>
>> mechanism that allows you to refer to repositories from other
>> repositories help in this case? Then we'd just need to create the
>> reference under the compat/ directory and folks who checkout the whole
>> tree would get all the bits. Is there a problem with that approach I'm
>> missing?
>>

Yep, I think the svn:externals approach makes the most sense and is 
something I am already using :)

>
> AFAIK, it does not provide a way to "automatically" checkout required
> library conditionally.
> It may not be desirable to checkout/download all compat libraries when
> building on OS X for instance, as it may not be desirable to checkout
> lic/xnu dependencies when building on Linux.
>

You can tell Subversion not to download external items by adding the 
'--ignore-externals' option to the 'svn checkout' command.

Regards,

  - Mark


More information about the libdispatch-dev mailing list