Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rpg-stela
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Satya Prakash Nayak
rpg-stela
Commits
c92a187b
Commit
c92a187b
authored
11 months ago
by
phheim
Browse files
Options
Downloads
Patches
Plain Diff
got MuVal running
parent
d6ec76f6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+13
-5
13 additions, 5 deletions
Dockerfile
muval/lib/Z3Smt/z3interface.ml
+1
-0
1 addition, 0 deletions
muval/lib/Z3Smt/z3interface.ml
with
14 additions
and
5 deletions
Dockerfile
+
13
−
5
View file @
c92a187b
...
...
@@ -7,7 +7,11 @@ RUN apt-get update && \
build-essential \
g++ \
wget \
z3
opam \
z3 \
libblas-dev \
liblapack-dev \
python3-distutils
# Install Haskell stack
RUN
wget
-qO-
https://get.haskellstack.org/ | sh
...
...
@@ -18,15 +22,19 @@ COPY . home/tool
WORKDIR
/home/tool
# Build the pestel executable inside pestel folder
RUN
cd
pestel
&&
make
&&
cd
..
#
RUN cd pestel && make && cd ..
# Build the rpg-STeLA executable
RUN
cd
rpg-stela
&&
make
&&
cd
..
#
RUN cd rpg-stela && make && cd ..
# Build the conversion tool for MuVals input
RUN
cd
rpglib
&&
make
&&
cd
..
#
RUN cd rpglib && make && cd ..
# Build MuVal
# TODO
RUN
opam init
--disable-sandboxing
RUN
opam switch create 5.0.0
RUN
opam
install
dune
RUN
cd
muval
&&
eval
$(
opam
env
)
&&
opam
install
.
--deps-only
--confirm-level
=
yes
&&
cd
..
RUN
cd
muval
&&
eval
$(
opam
env
)
&&
dune build main.exe
&&
cd
..
LABEL
Name=rpg-stela Version=1.0
This diff is collapsed.
Click to expand it.
muval/lib/Z3Smt/z3interface.ml
+
1
−
0
View file @
c92a187b
...
...
@@ -165,6 +165,7 @@ let rec sort_of env s =
|
Z3enums
.
CHAR_SORT
->
failwith
"CHAR_SORT not supported"
|
Z3enums
.
UNKNOWN_SORT
->
failwith
@@
"[z3:sort_of] UNKNOWN_SORT not supported:"
^
Z3
.
Sort
.
to_string
s
|
_
->
failwith
"QUICK FIX: NOT SUPPORTED"
let
look_up_func_of_dt
dt
sort
func
=
(* Debug.print @@ lazy (sprintf "look_up_func:%d :%s" (Z3.FuncDecl.get_id func) (Z3.FuncDecl.to_string func)); *)
...
...
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