rdicosmo / parmap

Parmap is a minimalistic library allowing to exploit multicore architecture for OCaml programs with minimal modifications.
http://rdicosmo.github.io/parmap/
Other
94 stars 20 forks source link

ocaml 4.08 #84

Closed JuliaLawall closed 4 years ago

JuliaLawall commented 5 years ago

Apparently parmap doesn't work with ocaml 4.08. Apparently Bigarray.Array1.map_file has disappeared.

UnixJunkie commented 5 years ago

We should use the stdcompat library to not be annoyed by such things. There is a Unix.map_file in 4.08, if you need a quick workaround.

UnixJunkie commented 5 years ago

If you need a branch with the changes: https://github.com/rdicosmo/parmap/pull/85

I just hate when the stdlib changes. The stdlib should not be used outside of the compiler...

XVilka commented 4 years ago

Any updates on this one? It is also required by Debian migration to OCaml 4.08+.

cc @glondu

UnixJunkie commented 4 years ago

should be fixed. the fixed version should appear in opam soon: https://github.com/ocaml/opam-repository/pull/14973