Skip to content
Permalink
Browse files

bench: fixed bench when building with --api

  • Loading branch information...
sagotch committed Jul 24, 2019
1 parent 216a90a commit f35f5610d91fcb31f5653c71b5f3829fbad63a93
Showing with 4 additions and 0 deletions.
  1. +3 −0 benchmark/bench.ml
  2. +1 −0 benchmark/dune.in
@@ -27,6 +27,9 @@ let () =
| bname when bname <> "" ->
let conf =
{Config.from="";manitou=false;supervisor=false;wizard=false;
#ifdef API
api_host="";api_port=0;
#endif
is_printed_by_template=false;friend=false;
just_friend_wizard=false;user="";username="";
auth_scheme=Config.NoAuth;pure_xhtml=false;command="";
@@ -1,5 +1,6 @@
(executable
(name bench)
(preprocess (action (run %{bin:cppo} %%%CPPO_D%%% -V OCAML:%{ocaml_version} %{input-file})))
(libraries unix geneweb.wserver %%%SOSA_PKG%%% %%%GWDB_PKG%%% geneweb benchmark)
)

0 comments on commit f35f561

Please sign in to comment.
You can’t perform that action at this time.