You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 4873 Reporter:@ygrek Assigned to:@xclerc Status: closed (set by @xavierleroy on 2011-05-29T10:20:09Z) Resolution: fixed Priority: normal Severity: minor Version: 3.11.1 Fixed in version: 3.11.2+dev Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues
Bug description
'ocamlbuild target.top' ignores "thread" tag, and so one needs to manually specify missing options.
Consider:
Original bug ID: 4873
Reporter: @ygrek
Assigned to: @xclerc
Status: closed (set by @xavierleroy on 2011-05-29T10:20:09Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.11.1
Fixed in version: 3.11.2+dev
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues
Bug description
'ocamlbuild target.top' ignores "thread" tag, and so one needs to manually specify missing options.
Consider:
$ cat q.ml
let test () = Thread.delay 1.0
$ cat _tags
true: thread, use_unix
$ cat q.mltop
Q
$ ocamlbuild q.byte
Finished, 3 targets (0 cached) in 00:00:00.
$ ocamlbuild q.top
File "none", line 1, characters 0-1:
Error: Error while linking q.cmo:
Reference to undefined global `Thread'
Command exited with code 2.
$ ocamlbuild -cflags -thread -lflags -thread -libs unix,threads q.top
Finished, 3 targets (2 cached) in 00:00:00.
File attachments
The text was updated successfully, but these errors were encountered: