Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
why3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
124
Issues
124
List
Boards
Labels
Service Desk
Milestones
Merge Requests
18
Merge Requests
18
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Why3
why3
Commits
0f574496
Commit
0f574496
authored
Apr 08, 2016
by
MARCHE Claude
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
instructions for compiling trywhy3
parent
085e2404
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
66 additions
and
0 deletions
+66
-0
src/trywhy3/README
src/trywhy3/README
+24
-0
src/trywhy3/alt-ergo.patch
src/trywhy3/alt-ergo.patch
+42
-0
No files found.
src/trywhy3/README
0 → 100644
View file @
0f574496
To compile and run TryWhy3 you need:
* 'ace'
in directory src/trywhy3 do
git clone https://github.com/ajaxorg/ace-builds.git
* Alt-Ergo
** get sources of Alt-Ergo and put them in directory src/trywhy3
** change the following line of Makefile.in the name of this directory
ALTERGODIR=src/trywhy3/alt-ergo-1.00-private-2015-01-29
** apply the patch alt-ergo.patch
cd <alt-ergo dir>
patch -p2 < ../alt-ergo.patch
* compile with make trywhy3
* install : TODO
src/trywhy3/alt-ergo.patch
0 → 100644
View file @
0f574496
diff -c -r alt-ergo-1.00-private-2015-01-29/src/sat/sat_solvers.ml /home/cmarche/why3/src/trywhy3/alt-ergo-1.00-private-2015-01-29/src/sat/sat_solvers.ml
***
alt-ergo-1.00-private-2015-01-29/src/sat/sat_solvers.ml 2015-10-19 10:44:47.532877782 +0200
--- /home/cmarche/why3/src/trywhy3/alt-ergo-1.00-private-2015-01-29/src/sat/sat_solvers.ml 2015-10-11 17:04:29.987623110 +0200
***************
*** 23,28 ****
--- 23,30 ----
open Options
open Format
+ exception StepsLimitReached
+
module type S = sig
type t
***************
*** 492,499 ****
--- 494,504 ----
if steps_bound () <> -1
&& Int64.compare !steps (Int64.of_int (steps_bound ())) > 0 then
begin
+ raise StepsLimitReached;
+ (*
printf "Steps limit reached: %Ld@." !steps;
exit 1
+ *)
end;
{ env with tbox = tbox; unit_tbox = utbox; inst = inst }
diff -c -r alt-ergo-1.00-private-2015-01-29/src/sat/sat_solvers.mli /home/cmarche/why3/src/trywhy3/alt-ergo-1.00-private-2015-01-29/src/sat/sat_solvers.mli
***
alt-ergo-1.00-private-2015-01-29/src/sat/sat_solvers.mli 2015-10-19 10:44:47.540877782 +0200
--- /home/cmarche/why3/src/trywhy3/alt-ergo-1.00-private-2015-01-29/src/sat/sat_solvers.mli 2015-10-11 17:05:07.655624228 +0200
***************
*** 20,25 ****
--- 20,27 ----
(* This file is distributed under the terms of the CeCILL-C licence *)
(******************************************************************************)
+ exception StepsLimitReached
+
module type S = sig
type t
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment