Jérémie Dimino
53202d0a09
Make -j default to the number of CPUs ( #726 )
2018-04-26 16:10:14 +01:00
Rudi Grinberg
c406a51bb3
Fix github25 tests
2018-04-26 11:46:14 +01:00
Rudi Grinberg
f8c348983e
Skip <4.06.0 for output-obj
2018-04-26 11:46:14 +01:00
Rudi Grinberg
be3840005e
Generate blackbox tests
...
Generate these tests from the listing of directories. This allows us to
effectively mark which tests are not working in certain conditions/platforms.
2018-04-26 11:46:14 +01:00
Rudi Grinberg
4240c632b4
Merge pull request #722 from rgrinberg/path-everywhere
...
Use Path where Possible
2018-04-25 21:21:37 +07:00
Jérémie Dimino
2af69cb303
Make sure all_lib_deps_by_context doesn't report invalid contexts ( #723 )
2018-04-25 15:04:57 +01:00
Rudi Grinberg
a1835c7fa0
s/relative_build_dir/relative_to_build_dir/
2018-04-25 20:16:19 +07:00
Rudi Grinberg
f44b8bdb1b
Unhardcode _build dir everywhere
2018-04-25 18:22:48 +07:00
Rudi Grinberg
4b2a609396
Ignore Sys_error in Path.exists
2018-04-25 18:12:45 +07:00
Rudi Grinberg
62aa5acab3
Remove some path conversion from Action
2018-04-25 16:37:38 +07:00
Rudi Grinberg
63af8747a7
Change std_output_to and opened_file to use Path.t
2018-04-25 16:33:25 +07:00
Rudi Grinberg
b02c61f63c
Change the prog arg in Process to Path.t
2018-04-25 16:30:18 +07:00
Rudi Grinberg
729e85716c
Port tmp files to use Path.t
2018-04-25 16:23:47 +07:00
Rudi Grinberg
e310f17237
Get rid of Path.is_file
2018-04-25 16:18:32 +07:00
Rudi Grinberg
5eb444e357
Change Process.run's ~dir argument to use Path.t
...
This also requires Scheduler.with_chdir to use Path.t as well
2018-04-25 13:25:07 +07:00
Rudi Grinberg
7820e29d28
Port Io to use Path.t
2018-04-25 03:25:27 +07:00
Rudi Grinberg
79e434c658
Move sexp's io functions to Io.Sexp
...
to avoid circular dependencies when adding Path.t to Io
2018-04-24 23:21:42 +07:00
Rudi Grinberg
0d76abca91
Move ocaml-syntax related stuff to jbuild_load
...
This stuff is too specific to parsing jbuild files to be in stdune
2018-04-24 23:17:53 +07:00
Jérémie Dimino
239ff0054e
Remove jbuilder_ prefix for vendored libraries ( #720 )
...
It's not useful since we are not installing them. Also unwrap
libraries that are unwrapped upstream.
2018-04-24 14:38:30 +01:00
Rudi Grinberg
bc2a375e2c
Merge pull request #719 from rgrinberg/path-stdune
...
Move Sexp to Studune
2018-04-24 20:30:52 +07:00
Jeremie Dimino
dfbb609d39
Update output-obj tests
2018-04-24 13:51:57 +01:00
Jeremie Dimino
85f434de2b
Improve path.mlt
2018-04-24 13:37:53 +01:00
Rudi Grinberg
6aa1b84fee
Move Path to Stdune
...
* This requires moving Fatal_error and Loc_error to Stdune.Exn as well
* Clflags.workspace_root can no longer be used in Path.to_absolute_filename. We
just take a parameter instead for now.
2018-04-24 19:33:40 +07:00
Rudi Grinberg
bfd0f2eada
Fix 4.02.3 build
2018-04-24 10:10:01 +07:00
Rudi Grinberg
10c01ac741
Move Sexp to stdune
...
In the process, change all the Loc.fail's to Of_sexp exceptions
2018-04-24 01:47:54 +07:00
Rudi Grinberg
77af5b3a88
Add Usexp.Loc.in_file
...
Moved from Loc
2018-04-24 01:46:57 +07:00
Rudi Grinberg
03e439e449
Decouple sexp from Import
2018-04-24 00:17:58 +07:00
Rudi Grinberg
5147de3873
Decouple hint handling in sexp parser from Import
2018-04-24 00:17:19 +07:00
Rudi Grinberg
6dee7c9c39
Remove dependence on Improt in Path
2018-04-23 23:53:54 +07:00
Rudi Grinberg
980f5037cc
Move maybe_quoted to string module
2018-04-23 23:51:22 +07:00
Rudi Grinberg
9aa827ac35
Replace all code_errorf with code_error
2018-04-23 23:48:24 +07:00
Rudi Grinberg
59eda906b0
Convert locs to sexps
...
Done in a crappy way for now because the converters haven't yet made it to Usexp
2018-04-23 23:47:55 +07:00
Rudi Grinberg
e991c261ca
Merge pull request #716 from rgrinberg/sexp-stdune
...
Move Code_error to stdune
2018-04-23 18:20:15 +07:00
Rudi Grinberg
f9373b2e46
Merge pull request #714 from rgrinberg/configurator-test-fix
...
Configurator test fix
2018-04-23 17:14:05 +07:00
Rudi Grinberg
24041593da
Move Code_error to Stdune.Exn
...
This exception is useful outside of jbuilder
2018-04-23 14:04:15 +07:00
Rudi Grinberg
98b2ea795c
Move String_map to stdune
2018-04-23 12:43:20 +07:00
Rudi Grinberg
530dbfeb81
Move String_set to stdune
2018-04-23 12:08:09 +07:00
Rudi Grinberg
709385ed66
Don't rely on "ext_exe" always being present
...
It's not present in older OCaml, so we need to guess the ext_exe ourselves.
2018-04-20 17:32:48 +07:00
Rudi Grinberg
13eea737f9
Don't use getenv_opt in configurator test
2018-04-20 17:32:37 +07:00
Rudi Grinberg
9b7a1707c5
Merge pull request #711 from rgrinberg/remove-ocamlv-tests
...
Remove -ocamlv arg from cram tests
2018-04-19 21:02:51 +07:00
Rudi Grinberg
6819749550
Remove -ocamlv arg from cram tests
...
The ocamlc config is passesd courtesy of configurator anyway
2018-04-18 23:14:32 +07:00
Jeremie Dimino
13b770962d
Remove the ?extra_targets argument of Build.run
...
Instead, use Hidden_targets
2018-04-18 17:00:11 +01:00
Jeremie Dimino
bd7f793792
Add Arg_spec.Hidden_targets
...
Same as Hidden_deps: allows to declare targets than don't appear on
the command line.
2018-04-18 17:00:11 +01:00
Rudi Grinberg
d9a90b4f29
Merge pull request #709 from rgrinberg/cram-portable-exts
...
Cram portable exts
2018-04-18 22:51:55 +07:00
Rudi Grinberg
ab50461741
Make extensions portable in cram output
...
With some really ugly post processing
2018-04-18 21:21:09 +07:00
Rudi Grinberg
f8f1a4036e
Change cram.mll to not use anon args
2018-04-18 19:30:40 +07:00
Rudi Grinberg
e467cafed0
Tweak CHANGELOG
...
Use github handles - those are useful for automatic pings when making making
releases.
Fix some typos
2018-04-18 09:50:29 +07:00
Rudi Grinberg
cc8de7df4c
Merge pull request #678 from rgrinberg/configurator-E
...
Use Whitequark's Code to extract #define's and other compile time info from object files
2018-04-18 09:38:56 +07:00
Rudi Grinberg
3e1495e47e
Add entry module for configurator
...
Only expose the public api (v1) in it
2018-04-17 22:25:45 +07:00
Rudi Grinberg
1d33f81298
Extract #define's using @whitequark's hack
2018-04-17 22:25:45 +07:00