Rudi Grinberg
f1baaa23a8
Add Env.add
...
Just add 1 binding to Env
2018-03-12 18:45:47 +07:00
Rudi Grinberg
3193e4902d
Make Process.run take Env.t directly
2018-03-12 18:45:47 +07:00
Rudi Grinberg
4b191b2b03
s/Env.get_var/Env.get/
2018-03-12 18:45:47 +07:00
Rudi Grinberg
206cc69fd9
Simplify Context.create
...
There's no need for a base_env parameter as it's always Env.initial
2018-03-12 18:45:47 +07:00
Rudi Grinberg
35d4153641
Make Env.t abstract
2018-03-12 18:43:02 +07:00
Rudi Grinberg
8458bf3b15
Move env related functions to Env module
2018-03-12 18:43:02 +07:00
François Bobot
feba0827b8
Allow to link executables as static or shared objects ( #23 )
...
- Setup the rules to use the `-output-complete-obj` option of OCaml
- Introduce a `best` mode in addition to `byte` and `native`
- Extend the `modes` field of executables to mean "linking modes", and add linking modes for static and shared objects
2018-03-12 11:40:53 +00:00
Jeremie Dimino
5286b42f58
Fix #597
2018-03-10 08:25:45 +07:00
Jeremie Dimino
bc2b740c4c
Add a reproduction case for #597
2018-03-10 08:25:31 +07:00
Jeremie Dimino
b219f28a8a
Format fix
2018-03-09 20:43:57 +00:00
Jeremie Dimino
8b5e2c4503
Update changelog
2018-03-09 19:55:51 +00:00
Jérémie Dimino
1feab6b2a6
Allow to specify additional libraries for the test runner ( #600 )
2018-03-09 19:51:02 +00:00
David Allsopp
b604871aab
Limit number of simultaneously opened fds ( #578 )
...
Non-optimal solution: only handles the common case.
2018-03-08 18:28:14 +00:00
Jérémie Dimino
b029d32dfb
fix String_with_vars.sexp_of_t ( #595 )
2018-03-07 15:01:46 +00:00
Jeremie Dimino
7494834b50
Update changelog
2018-03-07 09:41:31 +00:00
Jeremie Dimino
0f0b154de6
Remove ranlib, doesn't seem to be available on Windows
2018-03-07 09:40:08 +00:00
Jeremie Dimino
7c0724d029
Adapt bootstrap
2018-03-07 09:40:08 +00:00
Jeremie Dimino
98bb8adf83
fix
2018-03-07 09:40:08 +00:00
Jeremie Dimino
cc845e5fdb
Make all variables accessible in jbuild files
2018-03-07 09:40:08 +00:00
Jeremie Dimino
21a980a5d1
Update configurator
2018-03-07 09:40:08 +00:00
Jeremie Dimino
6ee6ed35d2
Ocamlc_config --> Ocaml_config
2018-03-07 09:40:08 +00:00
Jeremie Dimino
3bc21617b2
Refactor ocamlc_config
2018-03-07 09:40:08 +00:00
Jeremie Dimino
0b6a7eee2f
Recent versions of ocaml expose 'ext_exe'
2018-03-07 09:40:08 +00:00
Jeremie Dimino
9c178480ea
Update configurator
2018-03-07 09:40:08 +00:00
Jeremie Dimino
256c3d9969
Update changelog
2018-03-07 09:40:08 +00:00
Jeremie Dimino
d415ed5f6c
Expose a few more variables
2018-03-07 09:40:08 +00:00
Jeremie Dimino
1ff05d52e2
Refactor a bit the variables in super_context.ml
2018-03-07 09:40:08 +00:00
Jeremie Dimino
a95fd29dba
Move Ocamlc_config to its own library and refactor it a bit
2018-03-07 09:40:08 +00:00
Jérémie Dimino
dfdb6c09f4
Allow to set the library path at configure time ( #575 )
...
This allow to drop the dependency on ocamlfind
2018-03-06 14:56:24 +00:00
Jeremie Dimino
2acbc72f76
Update changelog
2018-03-06 12:59:01 +00:00
Jeremie Dimino
232acdd92f
Libraries and executables can allow overlapping dependencies
2018-03-06 12:59:01 +00:00
Jeremie Dimino
a5f9a9e063
Detect overlapping libraries
2018-03-06 12:59:01 +00:00
Rudi Grinberg
b5cb3c94b4
Merge pull request #579 from rgrinberg/module-name-private
...
Introduce private type for module name
2018-03-06 18:46:13 +07:00
Rudi Grinberg
c8355b454c
Generalize Ordered_set_lang to return a custom map
...
This simplifes all the conversion from and to Module.Name.Map.t
2018-03-06 18:45:38 +07:00
Rudi Grinberg
ddefafa58b
Introduce private type for module name
2018-03-06 18:45:38 +07:00
Jeremie Dimino
f20b43a22b
Strip colors in blackbox tests
2018-03-06 11:01:06 +00:00
Jeremie Dimino
6eace337bc
typo
2018-03-05 18:06:41 +00:00
Jérémie Dimino
cd6812f269
Accept and ignore ppx.driver fields ( #588 )
2018-03-05 17:59:56 +00:00
Jérémie Dimino
4857ed444a
Reduce interleaving in the scheduler ( #586 )
2018-03-05 17:52:21 +00:00
Rudi Grinberg
5ded45faf0
Merge pull request #584 from rgrinberg/improve-error-modules
...
Improve error in modules partition
2018-03-05 23:47:19 +07:00
Jeremie Dimino
348d2b1a1e
display tweaks
2018-03-05 16:24:24 +00:00
Rudi Grinberg
719cf5eea0
Improve error in modules partition
...
Specify how to fix the error (by writing modules fields)
2018-03-05 23:11:45 +07:00
Jeremie Dimino
3edc029bf4
ws
2018-03-05 15:05:24 +00:00
Rudi Grinberg
75fe147da9
Merge pull request #577 from rgrinberg/menhir-own-module
...
Move menhir rules to own module
2018-03-05 21:30:17 +07:00
Jeremie Dimino
a1beb25d12
Add a bit more doc to Build
2018-03-05 14:14:09 +00:00
Jeremie Dimino
1a4362b0b1
Document Arg_spec a bit more
2018-03-05 14:00:29 +00:00
Jeremie Dimino
4c2768e805
style + doc
2018-03-05 14:00:21 +00:00
Rudi Grinberg
dcbfc37666
Add flags field to menhir test
2018-03-05 20:03:36 +07:00
Rudi Grinberg
6d5c2de689
Change menhir flags to use ordered set language
...
Consistent with how flags are handled elsewhere in jbuilder
2018-03-05 20:03:16 +07:00
Rudi Grinberg
f06519e231
Implement menhir rules from scrath
...
Rather than changing them to user_rules and then compiling those.
2018-03-05 19:56:27 +07:00