-
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.
Make 29-svcomp/36-svcomp-arch multilib detection more precise
Also handles missing gcc-multilib on Linux, e.g. in opam docker. There's no conf-* package for gcc-multilib.
- Loading branch information
Showing
3 changed files
with
11 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
(executables | ||
(names yamlWitnessStrip yamlWitnessStripDiff) | ||
(names yamlWitnessStrip yamlWitnessStripDiff multilibConfigure) | ||
(libraries | ||
batteries.unthreaded | ||
goblint-cil | ||
goblint_std | ||
goblint_lib | ||
yaml | ||
goblint.sites.dune | ||
goblint.build-info.dune) | ||
(flags :standard -open Goblint_std) | ||
(preprocess (pps ppx_deriving.std))) | ||
|
||
(rule | ||
(target multilibAvailable) | ||
(action (with-stdout-to %{target} (run ./multilibConfigure.exe)))) |
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,4 @@ | ||
open GoblintCil | ||
|
||
let () = | ||
Printf.printf "%B" (Option.is_some GoblintCil.Machdep.gcc32 && Option.is_some GoblintCil.Machdep.gcc64) |