Skip to content

Commit 07009f0

Browse files
committed
Extract constraint system to goblint_constraint dune library
1 parent f97869c commit 07009f0

File tree

7 files changed

+41
-1
lines changed

7 files changed

+41
-1
lines changed
File renamed without changes.

src/constraint/constraint.mld

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{0 Library goblint.constraint}
2+
This library is unwrapped and provides the following top-level modules.
3+
For better context, see {!Goblint_lib} which also documents these modules.
4+
5+
6+
{1 Framework}
7+
8+
{2 Specification}
9+
{!modules:
10+
ConstrSys
11+
}
12+
13+
{2 Results}
14+
{!modules:
15+
VarQuery
16+
}

src/constraint/dune

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
(include_subdirs no)
2+
3+
(library
4+
(name goblint_constraint)
5+
(public_name goblint.constraint)
6+
(wrapped false) ; TODO: wrap
7+
(libraries
8+
batteries.unthreaded
9+
goblint_std
10+
goblint_common
11+
goblint_domain
12+
goblint-cil)
13+
(flags :standard -open Goblint_std)
14+
(preprocess
15+
(pps
16+
ppx_deriving.std
17+
ppx_deriving_hash
18+
ppx_deriving_yojson))
19+
(instrumentation (backend bisect_ppx)))
20+
21+
(documentation)
File renamed without changes.
File renamed without changes.

src/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
(name goblint_lib)
88
(public_name goblint.lib)
99
(modules :standard \ goblint privPrecCompare apronPrecCompare messagesCompare)
10-
(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_library goblint_incremental goblint_tracing
10+
(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_constraint goblint_library goblint_incremental goblint_tracing
1111
; Conditionally compile based on whether apron optional dependency is installed or not.
1212
; Alternative dependencies seem like the only way to optionally depend on optional dependencies.
1313
; See: https://dune.readthedocs.io/en/stable/concepts.html#alternative-dependencies.

src/index.mld

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ This {{!page-common}unwrapped library} contains various common modules extracted
1616
{2 Library goblint.domain}
1717
This {{!page-domain}unwrapped library} contains various domain modules extracted from {!Goblint_lib}.
1818

19+
{2 Library goblint.constraint}
20+
This {{!page-constraint}unwrapped library} contains various constraint system modules extracted from {!Goblint_lib}.
21+
1922
{2 Library goblint.library}
2023
This {{!page-library}unwrapped library} contains various library specification modules extracted from {!Goblint_lib}.
2124

0 commit comments

Comments
 (0)