rdicosmo / parmap

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

Add required cclib to link with parmap.cma #12

Closed rixed closed 11 years ago

rixed commented 11 years ago

When linking statically against parmap, one need to link with parmap_stubs library (since it's not recorded in the cma itself). Findlib can automatically add the required -cclib option.

Note that there may be a much better way to fix this - like, have this -lparmap_stubs recorded in the "Extra C object files" header of parmap.cma (like it is in parmap.cmxa).