Skip to content

Commit

Permalink
Extract incremental to goblint_incremental dune library
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Dec 6, 2023
1 parent 3dd3551 commit deb727b
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
(name goblint_lib)
(public_name goblint.lib)
(modules :standard \ goblint privPrecCompare apronPrecCompare messagesCompare)
(libraries goblint.sites goblint.build-info goblint-cil.all-features batteries.unthreaded qcheck-core.runner sha json-data-encoding jsonrpc cpu arg-complete fpath yaml yaml.unix uuidm goblint_timing catapult goblint_backtrace fileutils goblint_std goblint_config goblint_common goblint_domain goblint_tracing
(libraries goblint.sites goblint.build-info goblint-cil.all-features batteries.unthreaded qcheck-core.runner sha json-data-encoding jsonrpc cpu arg-complete fpath yaml yaml.unix uuidm goblint_timing catapult goblint_backtrace fileutils goblint_std goblint_config goblint_common goblint_domain goblint_incremental goblint_tracing
; Conditionally compile based on whether apron optional dependency is installed or not.
; Alternative dependencies seem like the only way to optionally depend on optional dependencies.
; See: https://dune.readthedocs.io/en/stable/concepts.html#alternative-dependencies.
Expand Down
File renamed without changes.
22 changes: 22 additions & 0 deletions src/incremental/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
(include_subdirs unqualified)

(library
(name goblint_incremental)
(public_name goblint.incremental)
(wrapped false) ; TODO: wrap
(libraries
batteries.unthreaded
zarith
goblint_std
goblint_config
goblint_common
goblint-cil
fpath)
(flags :standard -open Goblint_std)
(preprocess
(pps
ppx_deriving.std
ppx_deriving_hash
ppx_deriving_yojson)))

(documentation)
16 changes: 16 additions & 0 deletions src/incremental/incremental.mld
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{0 Library goblint.incremental}
This library is unwrapped and provides the following top-level modules.
For better context, see {!Goblint_lib} which also documents these modules.


{1 Incremental}

{!modules:
CompareCIL
CompareAST
CompareCFG
UpdateCil
MaxIdUtil
Serialize
CilMaps
}
3 changes: 3 additions & 0 deletions src/index.mld
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ This {{!page-common}unwrapped library} contains various common modules extracted
{2 Library goblint.domain}
This {{!page-domain}unwrapped library} contains various domain modules extracted from {!Goblint_lib}.

{2 Library goblint.incremental}
This {{!page-incremental}unwrapped library} contains various incremental modules extracted from {!Goblint_lib}.


{1 Library extensions}
The following libraries provide extensions to other OCaml libraries.
Expand Down

0 comments on commit deb727b

Please sign in to comment.