mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-08 12:15:32 -05:00
add dependency on sequence for containers.advanced
This commit is contained in:
commit
2efbc8d56b
5 changed files with 35 additions and 12 deletions
4
Makefile
4
Makefile
|
|
@ -49,10 +49,6 @@ examples: all
|
||||||
|
|
||||||
push_doc: doc
|
push_doc: doc
|
||||||
scp -r containers.docdir/* cedeela.fr:~/simon/root/software/containers/
|
scp -r containers.docdir/* cedeela.fr:~/simon/root/software/containers/
|
||||||
scp -r containers_string.docdir/* cedeela.fr:~/simon/root/software/containers/string/
|
|
||||||
scp -r containers_advanced.docdir/* cedeela.fr:~/simon/root/software/containers/advanced
|
|
||||||
scp -r containers_misc.docdir/* cedeela.fr:~/simon/root/software/containers/misc/
|
|
||||||
scp -r containers_lwt.docdir/* cedeela.fr:~/simon/root/software/containers/lwt/
|
|
||||||
|
|
||||||
DONTTEST=myocamlbuild.ml setup.ml $(wildcard src/**/*.cppo.*)
|
DONTTEST=myocamlbuild.ml setup.ml $(wildcard src/**/*.cppo.*)
|
||||||
QTESTABLE=$(filter-out $(DONTTEST), \
|
QTESTABLE=$(filter-out $(DONTTEST), \
|
||||||
|
|
|
||||||
6
_oasis
6
_oasis
|
|
@ -41,6 +41,10 @@ Flag "bigarray"
|
||||||
Description: Build modules that depend on bigarrays
|
Description: Build modules that depend on bigarrays
|
||||||
Default: false
|
Default: false
|
||||||
|
|
||||||
|
Flag "advanced"
|
||||||
|
Description: Build advanced combinators, including CCLinq (requires "sequence")
|
||||||
|
Default: true
|
||||||
|
|
||||||
Library "containers"
|
Library "containers"
|
||||||
Path: src/core
|
Path: src/core
|
||||||
Modules: CCVector, CCPrint, CCError, CCHeap, CCList, CCOpt, CCPair,
|
Modules: CCVector, CCPrint, CCError, CCHeap, CCList, CCOpt, CCPair,
|
||||||
|
|
@ -86,6 +90,8 @@ Library "containers_advanced"
|
||||||
Path: src/advanced
|
Path: src/advanced
|
||||||
Pack: true
|
Pack: true
|
||||||
Modules: CCLinq, CCBatch, CCCat, CCMonadIO
|
Modules: CCLinq, CCBatch, CCCat, CCMonadIO
|
||||||
|
Build$: flag(advanced)
|
||||||
|
Install$: flag(advanced)
|
||||||
FindlibName: advanced
|
FindlibName: advanced
|
||||||
FindlibParent: containers
|
FindlibParent: containers
|
||||||
BuildDepends: containers, sequence
|
BuildDepends: containers, sequence
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,8 @@ Use bigarrays to hold large strings and map files directly into memory.
|
||||||
|
|
||||||
{4 Advanced}
|
{4 Advanced}
|
||||||
|
|
||||||
This module is qualified with [Containers_advanced].
|
This module is qualified with [Containers_advanced]. It
|
||||||
|
requires {{:https://github.com/c-cube/sequence} Sequence}.
|
||||||
|
|
||||||
{!modules: CCLinq CCCat CCBatch}
|
{!modules: CCLinq CCCat CCBatch}
|
||||||
|
|
||||||
|
|
|
||||||
3
opam
3
opam
|
|
@ -5,6 +5,7 @@ build: [
|
||||||
["./configure" "--prefix" prefix "--disable-thread" "--disable-bench"
|
["./configure" "--prefix" prefix "--disable-thread" "--disable-bench"
|
||||||
"--disable-tests" "--%{lwt:enable}%-lwt"
|
"--disable-tests" "--%{lwt:enable}%-lwt"
|
||||||
"--%{base-bigarray:enable}%-bigarray"
|
"--%{base-bigarray:enable}%-bigarray"
|
||||||
|
"--%{sequence:enable}%-advanced"
|
||||||
"--enable-docs" "--enable-misc"]
|
"--enable-docs" "--enable-misc"]
|
||||||
[make "build"]
|
[make "build"]
|
||||||
]
|
]
|
||||||
|
|
@ -27,7 +28,7 @@ depends: [
|
||||||
"base-bytes"
|
"base-bytes"
|
||||||
"cppo" {build}
|
"cppo" {build}
|
||||||
]
|
]
|
||||||
depopts: [ "lwt" ]
|
depopts: [ "lwt" "sequence" "base-bigarray" ]
|
||||||
tags: [ "stdlib" "containers" "iterators" "list" "heap" "queue" ]
|
tags: [ "stdlib" "containers" "iterators" "list" "heap" "queue" ]
|
||||||
homepage: "https://github.com/c-cube/ocaml-containers/"
|
homepage: "https://github.com/c-cube/ocaml-containers/"
|
||||||
doc: "http://cedeela.fr/~simon/software/containers/"
|
doc: "http://cedeela.fr/~simon/software/containers/"
|
||||||
|
|
|
||||||
31
setup.ml
31
setup.ml
|
|
@ -1,7 +1,7 @@
|
||||||
(* setup.ml generated for the first time by OASIS v0.4.4 *)
|
(* setup.ml generated for the first time by OASIS v0.4.4 *)
|
||||||
|
|
||||||
(* OASIS_START *)
|
(* OASIS_START *)
|
||||||
(* DO NOT EDIT (digest: 43c616e040b0bb8b601c67da9e06ec15) *)
|
(* DO NOT EDIT (digest: e891037c225152a20947db1a246bbac5) *)
|
||||||
(*
|
(*
|
||||||
Regenerated by OASIS v0.4.5
|
Regenerated by OASIS v0.4.5
|
||||||
Visit http://oasis.forge.ocamlcore.org for more information and
|
Visit http://oasis.forge.ocamlcore.org for more information and
|
||||||
|
|
@ -6989,6 +6989,18 @@ let setup_t =
|
||||||
Some "Build modules that depend on bigarrays";
|
Some "Build modules that depend on bigarrays";
|
||||||
flag_default = [(OASISExpr.EBool true, false)]
|
flag_default = [(OASISExpr.EBool true, false)]
|
||||||
});
|
});
|
||||||
|
Flag
|
||||||
|
({
|
||||||
|
cs_name = "advanced";
|
||||||
|
cs_data = PropList.Data.create ();
|
||||||
|
cs_plugin_data = []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
flag_description =
|
||||||
|
Some
|
||||||
|
"Build advanced combinators, including CCLinq (requires \"sequence\")";
|
||||||
|
flag_default = [(OASISExpr.EBool true, true)]
|
||||||
|
});
|
||||||
Library
|
Library
|
||||||
({
|
({
|
||||||
cs_name = "containers";
|
cs_name = "containers";
|
||||||
|
|
@ -7208,8 +7220,16 @@ let setup_t =
|
||||||
cs_plugin_data = []
|
cs_plugin_data = []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
bs_build = [(OASISExpr.EBool true, true)];
|
bs_build =
|
||||||
bs_install = [(OASISExpr.EBool true, true)];
|
[
|
||||||
|
(OASISExpr.EBool true, false);
|
||||||
|
(OASISExpr.EFlag "advanced", true)
|
||||||
|
];
|
||||||
|
bs_install =
|
||||||
|
[
|
||||||
|
(OASISExpr.EBool true, false);
|
||||||
|
(OASISExpr.EFlag "advanced", true)
|
||||||
|
];
|
||||||
bs_path = "src/advanced";
|
bs_path = "src/advanced";
|
||||||
bs_compiled_object = Best;
|
bs_compiled_object = Best;
|
||||||
bs_build_depends =
|
bs_build_depends =
|
||||||
|
|
@ -7886,8 +7906,7 @@ let setup_t =
|
||||||
};
|
};
|
||||||
oasis_fn = Some "_oasis";
|
oasis_fn = Some "_oasis";
|
||||||
oasis_version = "0.4.5";
|
oasis_version = "0.4.5";
|
||||||
oasis_digest =
|
oasis_digest = Some "\1605\244ig\016\132\177^\002\249\198\135@\146\016";
|
||||||
Some "\031\146\017A\213\149\236\192\252\238\156-\202*`\143";
|
|
||||||
oasis_exec = None;
|
oasis_exec = None;
|
||||||
oasis_setup_args = [];
|
oasis_setup_args = [];
|
||||||
setup_update = false
|
setup_update = false
|
||||||
|
|
@ -7895,6 +7914,6 @@ let setup_t =
|
||||||
|
|
||||||
let setup () = BaseSetup.setup setup_t;;
|
let setup () = BaseSetup.setup setup_t;;
|
||||||
|
|
||||||
# 7899 "setup.ml"
|
# 7918 "setup.ml"
|
||||||
(* OASIS_STOP *)
|
(* OASIS_STOP *)
|
||||||
let () = setup ();;
|
let () = setup ();;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue