Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005227OCaml-for ocamlbuild use https://github.com/ocaml/ocamlbuild/issuespublic2011-02-18 10:292017-03-03 16:10
Reporterdaweil 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusresolvedResolutionsuspended 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005227: possibility to call ocamlbuild from a sub-directory
DescriptionI'm working on a multi-directory project for example :
+-+- A/
| +- a1.ml
| +- ...
| +- aN.ml
|
+-+- B/
| +- b1.ml
| +- ...
| +- bN.ml
|
+-+- Main/
  +- main.ml (depending on a.cma and b.cma)

So far, the only way to compile my project is to call ocamlbuild from root directory.
While I'm editing b1.ml in directory B, I would like to compile it with the command "ocamlbuild b1.cmo". This is not possible so far : I have to go in root directory and type "ocamlbuild B/b1.ml".
My wish would be something like a "-root" option to specific from which parent directory ocamlbuild should be called.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0005824)
daweil (reporter)
2011-02-18 16:26

I tried to modify myself the source code by adding a -root-dir option in ocamlbuild/options.ml but I could find myself where to make the call to Sys.chdir (or Shell.chdir)...
(0017370)
xleroy (administrator)
2017-02-20 10:56

Un-assigning from xclerc
(0017551)
doligez (administrator)
2017-03-03 16:10

ocamlbuild is now a separate project that lives on GitHub.
PR transferred to https://github.com/ocaml/ocamlbuild/issues/218 [^]

- Issue History
Date Modified Username Field Change
2011-02-18 10:29 daweil New Issue
2011-02-18 16:26 daweil Note Added: 0005824
2011-05-17 16:15 doligez Status new => acknowledged
2011-06-06 13:02 xclerc Status acknowledged => assigned
2011-06-06 13:02 xclerc Assigned To => xclerc
2012-02-02 15:17 protz Category OCamlbuild => OCamlbuild (the tool)
2017-02-20 10:56 xleroy Status assigned => acknowledged
2017-02-20 10:56 xleroy Note Added: 0017370
2017-02-23 16:34 doligez Category OCamlbuild (the tool) => for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues [^]
2017-02-23 16:44 doligez Category for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues [^] => -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues [^]
2017-03-03 16:10 doligez Note Added: 0017551
2017-03-03 16:10 doligez Assigned To xclerc =>
2017-03-03 16:10 doligez Status acknowledged => resolved
2017-03-03 16:10 doligez Resolution open => suspended


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker