Rudi Grinberg
ec3a3bf673
Remove interpret'
2018-05-01 18:50:51 +07:00
Rudi Grinberg
3e9bc8c0c3
Allow setting ENV vars in findlib.conf per toolchain
...
This is useful for configuring PKG CONFIG for cross compilation
2018-05-01 00:13:50 +07:00
Rudi Grinberg
630e42f490
Merge pull request #731 from rgrinberg/gh717
...
Fix 717
2018-04-30 22:23:45 +07:00
Rudi Grinberg
7b17fa013f
Fix #717
...
Extensions should be removed from the map of basenames to mld paths
2018-04-29 00:52:29 +07:00
Rudi Grinberg
575cbce699
Add test showing odoc failure with index.mld
2018-04-29 00:34:53 +07:00
Rudi Grinberg
4ef05fb277
Merge pull request #730 from rgrinberg/test-tweaks
...
Test tweaks
2018-04-28 00:45:44 +07:00
Rudi Grinberg
40631805ef
Multiple private libs requires odoc
2018-04-27 23:30:42 +07:00
Rudi Grinberg
558b372cf0
Add unit tests to target without deps
2018-04-27 21:55:43 +07:00
Rudi Grinberg
f84550b98a
Tag jsoo and utop tests as taking externals
2018-04-27 21:34:48 +07:00
Jérémie Dimino
8796df8a74
Fix flags in output-obj test ( #728 )
2018-04-26 18:47:20 +01:00
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