Overriding Scons Cache Copy Function
I'm trying to figure out how to override the behaviour when SCons copies artifacts from the cache directory (given by CacheDir) to used hard-links. My current try def link_or_copy_
Solution 1:
We finally figured out that
import SCons.Environment
SCons.Environment.Environment._copy_from_cache = link_or_copy_file
SCons.Environment.Environment._copy2_from_cache = link_or_copy_file
worked.
Post a Comment for "Overriding Scons Cache Copy Function"