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.
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. Thelink_shared
rule is creating a call toocamlopt
with the-shared
option, which doesn't produce.so
nor it is compatible with theoutput-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.