[Omake] SVN Commit: OMake Build System (Rev. 10830)

Aleksey Nogin anogin at hrl.com
Tue May 29 17:48:10 PDT 2007


On 29.05.2007 15:37, Jason J. Hickey wrote:

> The static section indexing resulted in duplicates.
> This fixes bug #669.
> 
> This is already done correctly in 0.9.8.x, so I just hacked it 
> the easiest way possible, and used a ref cell for the static
> index.  Do not propagate this hack.
> 
> ----
> Changes:
>     +11 -6	omake-branches/0.9.8.2/src/env/omake_ir_ast.ml
>  
> A hyperlinked version of this commit is available at
> http://svn.metaprl.org/commitlogs/omake/2007-05.html#07/05/29.15:37:26

This seems to have weird side-effects - in the bug 669 example, If I run 
the commands below, all those marked with "<--" would evaluate a static 
section. Those that are marked "???" do not have a valid reason for 
doing so.

rm -f common/*omc
(cd a; omake)      #<--
(cd b; omake)      #<--
(cd b; omake)      #<-- ???
(cd b; omake)
(cd a; omake)      #<-- ???
(cd a; omake)      #<-- ???
(cd a; omake)

Could it be that the ref cell hack just moves the problem somewhere else?

Aleksey

-- 
Aleksey Nogin, Research Scientist
Advanced Technologies Department, Information & System Sciences Lab
HRL Laboratories, LLC, Malibu, CA


More information about the OMake-Devel mailing list