forked from ocaml/dune
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into sandbox/debug-perf-parse_comp_units
* main: (56 commits) feature: add terminal ui backend based on NoTTY (ocaml#6996) doc(coq): update documentation about coqdep fix(rules): don't descend into automatic subdirs infinitely (ocaml#7208) benchmark: add warm run (ocaml#7198) test: vendored and public libs (ocaml#7197) test: use sh in concurrent test (ocaml#7205) fix: custom log file path (ocaml#7200) test(melange): add test exercising ocaml#7104 (ocaml#7204) test(melange): add a test that introduces rules in the target dir (ocaml#7196) test: duplicate packages in vendor dir (ocaml#7194) melange: interpret `melc --where` as a list of `:`-separated paths (ocaml#7176) perf: add synthetic benchmark (ocaml#7189) Test case for bug report (ocaml#6725) Add test illustrating ocaml#6575 (ocaml#6576) chore: add rule streaming proposal (ocaml#7195) test(stdlib): merge wrapped/unwrapped tests test: move all stdlib tests fix: allow unwrapped libraries with `(stdlib ..)` test: demonstrate crash in modules.ml when `(stdlib .. )` used with `(wrapped false)` fix(install): respect display options (ocaml#7116) ...
- Loading branch information
Showing
329 changed files
with
7,123 additions
and
919 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ _build | |
_boot | ||
_perf | ||
_coverage | ||
__pycache__ | ||
*.install | ||
|
||
# vim swap files | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
(executable | ||
(name bench) | ||
(modules bench) | ||
(libraries dune_stats chrome_trace stdune fiber dune_engine dune_util)) | ||
|
||
(rule | ||
(alias bench) | ||
(action | ||
(run ./bench.exe %{bin:dune}))) | ||
|
||
(executable | ||
(modules gen_synthetic) | ||
(libraries unix) | ||
(name gen_synthetic)) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
open Printf | ||
|
||
let write_modules basedir num_modules = | ||
for current_mod = 1 to num_modules do | ||
let modname = sprintf "%s/m_%d" basedir current_mod in | ||
let f = open_out (sprintf "%s.ml" modname) in | ||
close_out f | ||
done | ||
|
||
let dune = {| | ||
(library | ||
(name test)) | ||
|} | ||
|
||
let write basedir = | ||
let () = Unix.mkdir basedir 0o777 in | ||
let f = open_out (Filename.concat basedir "dune") in | ||
output_string f dune; | ||
let () = close_out f in | ||
write_modules basedir | ||
|
||
let () = | ||
let basedir = ref "." in | ||
let num_modules = ref 0 in | ||
Arg.parse | ||
[ ( "-n" | ||
, Arg.Int (fun n -> num_modules := n) | ||
, "<n> number of modules to include in the synthetic library" ) | ||
] | ||
(fun d -> basedir := d) | ||
(sprintf "usage: %s [basedir]" (Filename.basename Sys.argv.(0))); | ||
|
||
write !basedir !num_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,7 @@ | |
csexp_rpc | ||
dune_rpc_impl | ||
dune_rpc_private | ||
dune_rpc_client | ||
spawn) | ||
(bootstrap_info bootstrap-info)) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.