Open hhugo opened 4 months ago
Just extraction a clearer repro:
opam pin --no-action add js_of_ocaml-compiler.dev .
opam pin --no-action add js_of_ocaml-lwt.dev .
opam pin --no-action add js_of_ocaml-ppx.dev .
opam pin --no-action add js_of_ocaml-ppx_deriving_json.dev .
opam pin --no-action add js_of_ocaml-toplevel.dev .
The issue here is that local Git repos are first rsync'd and this happens for each pin. You'll see if you pin git+https://github.com/ocsigen/js_of_ocaml.git that it's much faster (especially on the subsequent pins, because the commit cache starts to work).
This is related to #5810.
(assigning @rjbou, as we can't remember why the rsync has to take place for a Git clone)
It seems to have been caused by Cygwin's local package directory being created in cwd, but setup-ocaml now tells git to ignore it. This should make the pin not very slow.
opam pin is very slow on windows, are we cloning the entire repo, with all branches ? It take 1m20 for each package pinned.
This is using opam 2.2 rc1