ocamlbuild icon indicating copy to clipboard operation
ocamlbuild copied to clipboard

track dependencies on files installed by ocamlfind packages

Open samoht opened this issue 9 years ago • 1 comments

It would be nice if ocamlbuild main.native would recompile my program if one of the ocamlfind dependencies changed underneath (because of an opam reinstall for instance). @diml wrote some rules to do that there. Would be great if it was the default in ocamlfind -use-ocamlfind, though.

samoht avatar Jun 14 '16 23:06 samoht

It's a good idea; it may need a bit more work to be portable, though, for example assuming uname, md5sum, stats and xargs available in the shell is a bit much for something that could be done reasonably within the Unix module and would then have at least a chance of working on Windows.

gasche avatar Jun 15 '16 02:06 gasche