-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1206 from goblint/goblint-dune-libs
Organize some general modules into dune libraries
- Loading branch information
Showing
69 changed files
with
299 additions
and
106 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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
config*.ml |
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
(** Goblint build info. *) | ||
|
||
(** OCaml compiler flambda status. *) | ||
let ocaml_flambda = ConfigOcaml.flambda | ||
|
||
(** Dune profile. *) | ||
let dune_profile = ConfigProfile.profile | ||
|
||
(** Goblint version from git. *) | ||
let git_version = ConfigVersion.version | ||
|
||
(** Goblint version from release archive. *) | ||
let release_version = "%%VERSION_NUM%%" | ||
|
||
(** Goblint git commit from release archive. *) | ||
let release_commit = "%%VCS_COMMIT_ID%%" | ||
|
||
(** Goblint version. *) | ||
let version = | ||
let commit = ConfigVersion.version in | ||
if BatString.starts_with release_version "%" then | ||
commit | ||
else ( | ||
let commit = | ||
if commit = "n/a" then (* released archive has no .git *) | ||
release_commit | ||
else | ||
commit | ||
in | ||
Format.sprintf "%s (%s)" release_version commit | ||
) | ||
|
||
(** Statically linked libraries with versions. *) | ||
let statically_linked_libraries = Dune_build_info.statically_linked_libraries |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{0 Library goblint.common} | ||
This library is unwrapped and provides the following top-level modules. | ||
For better context, see {!Goblint_lib} which also documents these modules. | ||
|
||
|
||
{1 Framework} | ||
|
||
{2 CFG} | ||
{!modules: | ||
Node | ||
Edge | ||
MyCFG | ||
} | ||
|
||
{2 Specification} | ||
{!modules: | ||
AnalysisState | ||
ControlSpecC | ||
} | ||
|
||
{2 Configuration} | ||
{!modules: | ||
GobConfig | ||
AfterConfig | ||
JsonSchema | ||
Options | ||
} | ||
|
||
|
||
{1 Domains} | ||
{!modules: | ||
Printable | ||
Lattice | ||
} | ||
|
||
{2 Analysis-specific} | ||
|
||
{3 Other} | ||
{!modules:Basetype} | ||
|
||
|
||
{1 I/O} | ||
{!modules: | ||
Messages | ||
Tracing | ||
} | ||
|
||
|
||
{1 Utilities} | ||
{!modules:Timing} | ||
|
||
{2 General} | ||
{!modules: | ||
LazyEval | ||
ResettableLazy | ||
MessageUtil | ||
XmlUtil | ||
} | ||
|
||
{2 CIL} | ||
{!modules: | ||
CilType | ||
Cilfacade | ||
RichVarinfo | ||
} | ||
|
||
|
||
{1 Library extensions} | ||
|
||
{2 Standard library} | ||
{!modules:GobFormat} | ||
|
||
{2 Other libraries} | ||
{!modules:MyCheck} |
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
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
(include_subdirs unqualified) | ||
|
||
(library | ||
(name goblint_common) | ||
(public_name goblint.common) | ||
(wrapped false) ; TODO: wrap | ||
(libraries | ||
batteries.unthreaded | ||
zarith | ||
goblint_std | ||
goblint-cil | ||
fpath | ||
yojson | ||
json-data-encoding | ||
cpu | ||
goblint_timing | ||
goblint_build_info | ||
goblint.sites | ||
qcheck-core.runner) | ||
(flags :standard -open Goblint_std) | ||
(preprocess | ||
(pps | ||
ppx_deriving.std | ||
ppx_deriving_hash | ||
ppx_deriving_yojson | ||
ppx_blob)) | ||
(preprocessor_deps (file util/options.schema.json))) | ||
|
||
(documentation) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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
Oops, something went wrong.