Skip to content

Commit

Permalink
Remove unused goblint.build-info and goblint.sites dependency from mo…
Browse files Browse the repository at this point in the history
…st executables
  • Loading branch information
sim642 committed Jul 24, 2024
1 parent 5a50fa1 commit a5ab08b
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 18 deletions.
2 changes: 1 addition & 1 deletion gobview
Submodule gobview updated 1 files
+0 −2 src/dune
8 changes: 4 additions & 4 deletions src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -88,31 +88,31 @@
(public_names goblint)
(modes byte native) ; https://dune.readthedocs.io/en/stable/dune-files.html#linking-modes
(modules goblint)
(libraries goblint.lib goblint.sites goblint.build-info goblint_std)
(libraries goblint.lib goblint_std)
(preprocess (pps ppx_deriving.std ppx_deriving_hash ppx_deriving_yojson))
(flags :standard -linkall -open Goblint_std)
)

(executable
(name privPrecCompare)
(modules privPrecCompare)
(libraries goblint.lib goblint.sites goblint.build-info goblint_std)
(libraries goblint.lib goblint_std)
(preprocess (pps ppx_deriving.std ppx_deriving_hash ppx_deriving_yojson))
(flags :standard -linkall -open Goblint_std)
)

(executable
(name apronPrecCompare)
(modules apronPrecCompare)
(libraries goblint.lib goblint.sites goblint.build-info goblint_std)
(libraries goblint.lib goblint_std)
(preprocess (pps ppx_deriving.std ppx_deriving_hash ppx_deriving_yojson))
(flags :standard -linkall -open Goblint_std)
)

(executable
(name messagesCompare)
(modules messagesCompare)
(libraries goblint.lib goblint.sites goblint.build-info goblint_std)
(libraries goblint.lib goblint_std)
(preprocess (pps ppx_deriving.std ppx_deriving_hash ppx_deriving_yojson))
(flags :standard -linkall -open Goblint_std)
)
Expand Down
6 changes: 0 additions & 6 deletions src/index.mld
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,9 @@ The following libraries provide [goblint] package metadata for executables.

{2 Library goblint.build-info}
{!modules:Goblint_build_info}
This library is virtual and has the following implementations
- goblint.build-info.dune for native executables,
- goblint.build-info.js for js_of_ocaml executables.

{2 Library goblint.sites}
{!modules:Goblint_sites}
This library is virtual and has the following implementations
- goblint.sites.dune for native executables,
- goblint.sites.js for js_of_ocaml executables.


{1 Independent utilities}
Expand Down
4 changes: 1 addition & 3 deletions tests/regression/cfg/util/dune
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
goblint_logs
goblint_common
goblint_lib ; TODO: avoid: extract LoopUnrolling and WitnessUtil node predicates from goblint_lib
fpath
goblint.sites
goblint.build-info)
fpath)
(preprocess (pps ppx_deriving.std)))
2 changes: 1 addition & 1 deletion tests/unit/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

(test
(name mainTest)
(libraries ounit2 qcheck-ounit goblint.std goblint.common goblint.lib goblint.constraint goblint.solver goblint.cdomain.value goblint.sites goblint.build-info)
(libraries ounit2 qcheck-ounit goblint.std goblint.common goblint.lib goblint.constraint goblint.solver goblint.cdomain.value)
(preprocess (pps ppx_deriving.std ppx_deriving_hash ppx_deriving_yojson))
(flags :standard -linkall))

Expand Down
4 changes: 1 addition & 3 deletions tests/util/dune
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
batteries.unthreaded
goblint_std
goblint_lib
yaml
goblint.sites
goblint.build-info)
yaml)
(flags :standard -open Goblint_std)
(preprocess (pps ppx_deriving.std)))

0 comments on commit a5ab08b

Please sign in to comment.