ocaml / ocamlbuild

The legacy OCamlbuild build manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cmxs rules are mentioning .so without producing them

ivg opened this issue · comments

All cmxs producing rules are mentioning a .so as a product, though it is not able to produce it, at least on a Linux machine. The link_shared rule is creating a call to ocamlopt with the -shared option, which doesn't produce .so nor it is compatible with the output-obj option.

This issue has a significant impact on (re)build times as it prevents the cache system from working properly. The cache system looks for the so file and retriggers linking for each library every time, even when nothing is changed.

Fixed by #305.