[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Concern about current swig includes dependency info generation

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-10-05 01:22:05 CEST

David James wrote:
> On 10/4/05, Max Bowsher <maxb@ukf.net> wrote:
>> The current swig build uses a number of swig include files which are
>> generated, not shipped.
>>
>> An unfortunate consequence of this is that the generated build-outputs.mk
>> contains *different* dependencies depending on whether gen-make.py has
>> been
>> run before or after a "make swig-somelanguage".
>>
>> If those dependencies are truly needed, they need to be generated before
>> a
>> swig build has occurred, so that they make it into the build-outputs.mk
>> shipped in our release tarballs.
>>
>> If those dependencies are not truly needed, they should not be output at
>> all, to avoid creating unnecessary differences between developers'
>> working
>> copies and release builds.

> Nice catch, Max! This problem should be fixed in r16446. I very much
> appreciate your careful work on the SWIG bindings -- it makes a big
> difference!

This is a step in the right direction, I think, but IIUC, there is still a
flaw - the list of *_h.swg files is still constructed by globbing - but when
the glob is evaluated, the files do not exist yet.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 5 01:22:50 2005

This is an archived mail posted to the Subversion Dev mailing list.