| Anonymous | Login | Signup for a new account | 2013-05-18 16:13 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0004611 | OCaml | OCamlbuild (the tool) | public | 2008-09-06 01:40 | 2012-09-10 14:05 | ||||||
| Reporter | jessicah | ||||||||||
| Assigned To | xclerc | ||||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||||
| Status | assigned | Resolution | no change required | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | 3.10.2 | ||||||||||
| Target Version | 4.00.2+dev | Fixed in Version | |||||||||
| Summary | 0004611: Dependencies not built despite matching tags | ||||||||||
| Description | I have a line like below in my ocamlbuild plugin, which doesn't get triggered when cmi files are tagged with use_custom_compiler. Even though the set of the tags when using 'ocamlbuild -show-tags <target.cmi>' is a superset of the tags in the below dependency rule, the dependencies are ignored. However, the dependency rule behaves as expected for .cmx files. The solution was to remove "compile" from the set of tags for the dependency. dep ["ocaml"; "compile"; "use_custom_compiler"] ["ocamlopt.opt"; "ocamloptcomp.ml"] | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Notes |
|
|
(0004598) ertai (developer) 2008-09-06 11:32 |
By removing "compile" you allow the flags to be added to linking, ocamldoc, preprocessing... Moreover by looking at your flags "ocamlopt.opt", I assume that's the command, and not a flag. In that case you should look a virtual commands that allow you to the ocaml compiler (look at myocamlbuild.ml in the root of the ocaml sources). |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2008-09-06 01:40 | jessicah | New Issue | |
| 2008-09-06 11:32 | ertai | Note Added: 0004598 | |
| 2008-09-06 11:32 | ertai | Resolution | open => no change required |
| 2008-09-10 12:51 | doligez | Status | new => assigned |
| 2008-09-10 12:51 | doligez | Assigned To | => ertai |
| 2010-07-22 11:46 | ertai | Assigned To | ertai => xclerc |
| 2012-02-02 15:17 | protz | Category | OCamlbuild => OCamlbuild (the tool) |
| 2012-07-06 16:38 | doligez | Target Version | => 4.01.0+dev |
| 2012-07-31 13:36 | doligez | Target Version | 4.01.0+dev => 4.00.1+dev |
| 2012-09-10 14:05 | frisch | Target Version | 4.00.1+dev => 4.00.2+dev |
| Copyright © 2000 - 2011 MantisBT Group |