On Sun, Dec 16, 2007 at 04:29:28PM +0100, Tim Blechmann wrote: > i was trying to debug nova, not scons ... but here you go: > - check out nova from git, go to the threaded_dsp branch > - run scons compact_build=True system_boost=True pch=True > omit_frame_pointer=True libsamplerate=True debug/py_nova.so -j2 > - change the file source/kernel/ugen/dsp_thread.hpp ... add a new line > or anything that changes it's md5 sum
I see what's going on here now. The problem arises only when using your Combine() builder (which is why I wasn't able to reproduce before you provided instructions). What is happening is that the Combine() builder is writing full paths to the files it includes into the generated C or C++ file. This causes SCons to ignore the dependency since it assumes that a fully qualified path is a reference to a file not part of the project build and which should therefore not be included in dependency generation (this is a noticable preformance win for users including files on networked drives). You could avoid the problem for now by arranging for your Combine() builder to use relative rather than absolute paths or by not using the Combine() builder. -- "You grabbed my hand and we fell into it, like a daydream - or a fever."
signature.asc
Description: Digital signature