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: 5696 Reporter: gerd Assigned to:@lefessan Status: closed (set by @xavierleroy on 2015-12-11T18:07:24Z) Resolution: fixed Priority: normal Severity: minor Version: 4.00.0+beta2/+rc1 Fixed in version: 4.00.0+dev Category: tools (ocaml{lex,yacc,dep,debug,...})
Bug description
I don't know whether this should be fixed in ocaml or omake. What I've observed is that "ocamldep -native" no longer prints bytecode deps (in contrast to 3.12). Some omake builds are now broken (this only affects the mode when OCAMLDEP_MODULES_ENABLED=false in OMakefile - but this is frequent as the mode using -modules is still "more" broken).
Apparently, omake needs the deps for a mixed native/bytecode build.
Taken literally, this is a bug in ocaml, "The flag -native causes dependencies on native compiled files (.cmx) to be generated instead of on .cmo files. (This flag makes no difference if all source files have explicit .mli interface files.)" (manual). The spec did not include that the cmo deps are entirely omitted. But, of course, the thinking about that might have changed (but in this case the manual should be updated).
Btw, the workaround is to set OCAMLDEPFLAGS= in OMakefile (defaults to -native if native code is built).
The text was updated successfully, but these errors were encountered:
Hi, this is indeed an unwanted change in the specification. We are going to check if it is still time to fix it before the release (there are just two lines to change in ocamldep.ml, but it's a bit late...)
Original bug ID: 5696
Reporter: gerd
Assigned to: @lefessan
Status: closed (set by @xavierleroy on 2015-12-11T18:07:24Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 4.00.0+beta2/+rc1
Fixed in version: 4.00.0+dev
Category: tools (ocaml{lex,yacc,dep,debug,...})
Bug description
I don't know whether this should be fixed in ocaml or omake. What I've observed is that "ocamldep -native" no longer prints bytecode deps (in contrast to 3.12). Some omake builds are now broken (this only affects the mode when OCAMLDEP_MODULES_ENABLED=false in OMakefile - but this is frequent as the mode using -modules is still "more" broken).
Apparently, omake needs the deps for a mixed native/bytecode build.
Taken literally, this is a bug in ocaml, "The flag -native causes dependencies on native compiled files (.cmx) to be generated instead of on .cmo files. (This flag makes no difference if all source files have explicit .mli interface files.)" (manual). The spec did not include that the cmo deps are entirely omitted. But, of course, the thinking about that might have changed (but in this case the manual should be updated).
Btw, the workaround is to set OCAMLDEPFLAGS= in OMakefile (defaults to -native if native code is built).
The text was updated successfully, but these errors were encountered: