Re: Ocamlfind does not allow -thread
"Sébastien Dailly [email protected] [ocaml_beginners]" <[email protected]> Fri, 18 Dec 2015 16:49:43 +0100
| Newsgroups | gmane.comp.lang.ocaml.beginners |
|---|---|
| Message-ID | <[email protected]> |
Le 2015-12-18 16:26, Sébastien Dailly sebastien-
> The value is set to "vm" in 4.02.1.3 only :
>
> $ grep type_of_threads /home/dailly/.opam/4.02.{1,3}/lib/threads/META
> /home/dailly/.opam/4.02.1/lib/threads/META:type_of_threads = "posix"
> /home/dailly/.opam/4.02.3/lib/threads/META:type_of_threads = "vm"
>
I tried to manualy set the value to « posix » but this does not work :
ocamlfind: Package `threads.posix' not found - required by `threads'
This seems to be related to the ocaml compilation when I've switch to
4.02.3…