Commit Graph

60 Commits

Author SHA1 Message Date
Jeremie Dimino a399d9df8a Declare dependencies on external library files
This way, when an external library is reinstalled, jbuilder knows to
rebuild things.

Currently, because the library dependencies transitive closures are
computed dynamically and jbuilder doesn't yet support dynamic targets,
every single rule has to depend on all the external files.

When jbuilder support dynamic targets, we can setup one alias per
external directory.

Tested the build of 97 Jane Street repository at once. No slow down
observed for the initial build.

Then a null build goes from ~1.5s to 2s. The test case is a bit
extreme so it's bot that bad given the benefits.
2017-05-18 13:52:35 +01:00
Jeremie Dimino b73e672cad Move js_of_ocaml to Buildable 2017-05-02 13:30:58 +01:00
hhugo 86a4f0324a Add js_of_ocaml support (#60)
Add rules for building .js files from .bc files using js_of_ocaml as well as rules for separate js compilation when --dev is passed.
2017-05-02 11:25:37 +01:00
Jeremie Dimino c999039aa7 Install sub-libraries into sub-directories
Otherwise we have a problem when two libraries of the same package
define the same module.
2017-03-01 15:03:09 +00:00
Jérémie Dimino 27a299437d 4.02.3 compatiblity 2017-02-26 21:28:30 +00:00
Jeremie Dimino ae6b09b180 114.30+68 2017-02-02 10:31:36 +00:00
Jeremie Dimino 716f30c3d3 114.28+32 2017-01-19 13:19:13 +00:00
Jeremie Dimino 875df08235 add deps on header files & stubs 2016-12-31 13:26:29 +00:00
Jeremie Dimino 2357fa0799 114.20+69 2016-12-15 11:20:46 +00:00
Jeremie Dimino cdcd7e907f 114.20+69 2016-12-02 13:54:32 +00:00