[Omake] non-file rules

Aleksey Nogin nogin at metaprl.org
Thu Oct 8 16:20:59 PDT 2009


Sam,

Have you tried placing the files onto a RAM drive? Or perhaps something 
fuse-based?

Omake has value dependencies, but no value targets. Perhaps this could 
be something to consider - right now we do all kinds of strange things 
to express the dependencies of the "static" variables on the external 
files, but perhaps making values a part of the normal dependency tree 
could result in a more consistent semantics...

Aleksey


On 08.10.2009 13:33, Sam Steingold wrote:

> Hi,
> we maintain transitive dependencies using the file system, i.e., we have a huge 
> directory tree which mirrors the library names we have with tiny little files.
> (find prints 3,638 entries which take 15M according to du, but only 1.4M 
> according to wc `find . -type f`; disk space, of course, is not the issue here, 
> but the speed of the build process - which has to access all those files - _IS_).
> 
> we would like to replace the directory tree with an in-memory map.
> alas, the entries of this map object have to be updated based on each other, 
> which is very easy with files (we have omake functions which create the rules 
> which update the files) but not so easy with the in-memory map (e.g., the map 
> entries do not have explicit timestamps).
> 
> so, my question is: is there a way to tap into the omake built-in dependency 
> resolution and tracking algorithm to maintain the transitive dependency map?
> 
> thanks
> Sam
> 
> _______________________________________________
> Omake mailing list
> Omake at metaprl.org
> https://lists.metaprl.org/mailman/listinfo/omake
> 



More information about the Omake mailing list