On 10 February 2011 04:34, Noel O'Boyle <baoille...@gmail.com> wrote:
> On 10 February 2011 00:31, Daniel Leidert <daniel.leidert.s...@gmx.net> wrote:
>> Hi,
>>
>> During updating the Debian package I discovered, that the Bindings are
>> built again and again: in normal build and then in test again and during
>> install again. So this uses resources and takes time.
>>
>> I guess this is because in a first step some files are copied. But such
>> an action changes the source (of course it just changes modification
>> time), so the source is newer than the target and the target gets
>> rebuilt. Is this right? Can this be fixed?
>
> Yes - this is a pain, but my priority was to get it working correctly
> in the first place. I'm going to have to appeal to a higher power
> (ccing to Marcus) to address the underlying issue.
>
Looking through the CMakeLists.txt this is due to the way
add_custom_command is used in the bindings generation process. It is
not attached to a target, and so swig would get executed every time
things are made. This means that the input file for other targets
would always have an updated modified time and cause all downstream
targets to get rebuilt.

I can probably take a pass at improving this, it will involve several
changes to the CMake code though. Is this a good time to do that?

Marcus

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to