Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
3701d699
Commit
3701d699
authored
2 years ago
by
Virgile Prevosto
Committed by
Allan Blanchard
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[wp] add an option to pass extra configuration files to build Why3 config
parent
9799803b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/plugins/wp/Why3Provers.ml
+2
-1
2 additions, 1 deletion
src/plugins/wp/Why3Provers.ml
src/plugins/wp/wp_parameters.ml
+10
-0
10 additions, 0 deletions
src/plugins/wp/wp_parameters.ml
src/plugins/wp/wp_parameters.mli
+1
-0
1 addition, 0 deletions
src/plugins/wp/wp_parameters.mli
with
13 additions
and
1 deletion
src/plugins/wp/Why3Provers.ml
+
2
−
1
View file @
3701d699
...
...
@@ -26,7 +26,8 @@
let
cfg
=
lazy
begin
try
Why3
.
Whyconf
.
init_config
None
let
extra_config
=
Wp_parameters
.
Why3ExtraConfig
.
get
()
in
try
Why3
.
Whyconf
.
init_config
~
extra_config
None
with
exn
->
Wp_parameters
.
abort
"%a"
Why3
.
Exn_printer
.
exn_printer
exn
end
...
...
This diff is collapsed.
Click to expand it.
src/plugins/wp/wp_parameters.ml
+
10
−
0
View file @
3701d699
...
...
@@ -983,6 +983,16 @@ module Why3Flags =
let
help
=
"Additional options for Why3"
end
)
let
()
=
Parameter_customize
.
set_group
wp_prover_options
let
()
=
Parameter_customize
.
no_category
()
module
Why3ExtraConfig
=
String_list
(
struct
let
option_name
=
"-wp-why3-extra-config"
let
arg_name
=
"file,..."
let
help
=
"Additional config files for Why3"
end
)
(* ------------------------------------------------------------------------ *)
(* --- PO Management --- *)
(* ------------------------------------------------------------------------ *)
...
...
This diff is collapsed.
Click to expand it.
src/plugins/wp/wp_parameters.mli
+
1
−
0
View file @
3701d699
...
...
@@ -136,6 +136,7 @@ module Steps: Parameter_sig.Int
module
Procs
:
Parameter_sig
.
Int
module
ProofTrace
:
Parameter_sig
.
Bool
module
Why3Flags
:
Parameter_sig
.
String_list
module
Why3ExtraConfig
:
Parameter_sig
.
String_list
module
Auto
:
Parameter_sig
.
String_list
module
AutoDepth
:
Parameter_sig
.
Int
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment