[Omake] Some problems with -pack

Achim Blumensath blumensath at mathematik.tu-darmstadt.de
Mon Mar 26 22:57:39 PDT 2007


Hello,

Aleksey Nogin wrote:
> On 25.03.2007 23:53, Achim Blumensath wrote:
> >But this does not seem to work. When Foo changes not everything that
> >should be recompiled is updated.
> 
> Do you have a concrete example? I've checked out Ant, so I could try
> debugging things in more detail.

Just build the project (requires ocaml 3.10 beta). Then modify some file
like VM/Private/Primitives.mli and build again. You will get an error
message stating that Foo.cmx and Bar.cmx make inconsistent assumptions
about the interface of VM.

> >Unfortunately, with this option (Local)OCamlGeneratedFiles has no
> >effect. My project uses two camlp4 extensions which have to be compiled
> >before dependency analysis. How am I to tell omake to do so without
> >using (Local)(OCamlGeneratedFiles)?
> 
> If you are using the default OCaml rules, something like
> 
> .SCANNER: scan-ocaml-%: $(MLPP_TARGETS)
> 
> should work.

Isn't this exactly what LocalOCamlGeneratedFiles is supposed to do?
So, why did you disable it?

> Looks very impressive! Do you mind if I list it at 
> http://omake.metaprl.org/omake_users.html ?

Sure, go ahead.

Achim
-- 
________________________________________________________________________
                                                              | \_____/ |
   Achim Blumensath                                          \O/ \___/\ |
   TU Darmstadt                                              =o=  \ /\ \|
   www.mathematik.tu-darmstadt.de/~blumensath                /"\   o----|
____________________________________________________________________\___|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
Url : http://lists.metaprl.org/pipermail/omake/attachments/20070327/11d37efc/attachment.bin


More information about the Omake mailing list