Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dropped support for gwdb2, moved gwdb1 implementation in a library, f…
…ixed compilation.
- Loading branch information
Showing
32 changed files
with
449 additions
and
6,605 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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
open Geneweb | ||
|
||
let bench name n fn arg = | ||
ignore @@ Benchmark.latency1 ~name n (List.map fn) arg | ||
|
||
|
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,6 +1,6 @@ | ||
(executable | ||
(name bench) | ||
(libraries unix geneweb.wserver %%%SOSA_PKG%%% geneweb benchmark) | ||
(libraries unix geneweb.wserver %%%SOSA_PKG%%% %%%GWDB_PKG%%% geneweb benchmark) | ||
) | ||
|
||
(alias (name runbench) (action (run ./bench.exe) ) ) |
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 |
---|---|---|
@@ -1,25 +1,40 @@ | ||
(env (dev (flags (-w -33) ) ) ) | ||
|
||
(include_subdirs unqualified) | ||
|
||
(executables | ||
(public_names connex gwc1 gwc2 gwd gwu mk_consang setup update_nldb) | ||
(modules connex gwc1 gwc2 gwd gwu mk_consang setup update_nldb) | ||
(libraries %%%SOSA_PKG%%% geneweb geneweb.wserver) | ||
(public_names connex gwb2ged gwd gwdiff gwu setup update_nldb) | ||
(modules connex gwb2ged gwdiff gwd gwu setup update_nldb) | ||
(libraries str %%%GWDB_PKG%%% geneweb geneweb.wserver) | ||
) | ||
|
||
(executables | ||
(public_names ged2gwb ged2gwb2) | ||
(modules ged2gwb ged2gwb2 utf8List) | ||
(libraries unix str camlp5.gramlib %%%SOSA_PKG%%% geneweb) | ||
(names gwtp) | ||
(modules gwtp httpEnv iolight) | ||
(libraries %%%GWDB_PKG%%% geneweb) | ||
) | ||
|
||
(executables | ||
(public_names gwb2ged gwdiff) | ||
(modules gwb2ged gwdiff) | ||
(libraries str %%%SOSA_PKG%%% geneweb) | ||
(rule (copy mk_consang/mk_consang.ml consang.ml)) | ||
(executable | ||
(public_name consang) | ||
(modules consang) | ||
(preprocess (action (run %{bin:cppo} %%%CPPO_D%%% %{input-file}))) | ||
(libraries %%%GWDB_PKG%%% geneweb) | ||
) | ||
|
||
(executables | ||
(public_names gwtp) | ||
(modules gwtp httpEnv iolight) | ||
(libraries %%%SOSA_PKG%%% geneweb) | ||
#ifdef GWDB1 | ||
(library (name db1link) (wrapped false) (libraries geneweb.gwdb1 geneweb) (modules db1link)) | ||
(rule (copy gwc/gwc1.ml gwc.ml)) | ||
(rule (copy ged2gwb/ged2gwb1.ml ged2gwb.ml)) | ||
(executable | ||
(public_name gwc) | ||
(modules gwc) | ||
(preprocess (action (run %{bin:cppo} %%%CPPO_D%%% %{input-file}))) | ||
(libraries geneweb.gwdb1 geneweb geneweb.wserver db1link) | ||
) | ||
(executable | ||
(public_name ged2gwb) | ||
(modules ged2gwb utf8List) | ||
(libraries unix str camlp5.gramlib geneweb.gwdb1 geneweb) | ||
) | ||
#endif |
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.