tarides / ocaml-platform-installer

The best way for developers to write software in OCaml
ISC License
61 stars 8 forks source link

Don't rebuild some tools for every versions of OCaml #109

Closed Julow closed 2 years ago

Julow commented 2 years ago

cc @panglesd

Some tools like ocamlformat, dune-release and opam-publish don't seem to depend on OCaml's object files format and so don't need to be built again and again.

This is a potentially huge speed improvement, as these tools have a lot of transitive dependencies (41 for ocamlformat and 105 for opam-publish), slowing down the sandbox build significantly.

Julow commented 2 years ago

Done in https://github.com/tarides/ocaml-platform-installer/pull/110