Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
caisar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
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
caisar
Commits
452c4d5d
Commit
452c4d5d
authored
2 years ago
by
Michele Alberti
Browse files
Options
Downloads
Patches
Plain Diff
[docker] Add Marabou and SAVer in docker image.
parent
2d5f0020
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/Dockerfile.template
+33
-0
33 additions, 0 deletions
docker/Dockerfile.template
with
33 additions
and
0 deletions
docker/Dockerfile.template
+
33
−
0
View file @
452c4d5d
...
@@ -42,3 +42,36 @@ opam install --deps-only --with-test -y .
...
@@ -42,3 +42,36 @@ opam install --deps-only --with-test -y .
@ENV@
@ENV@
RUN cd caisar && make && make install
RUN cd caisar && make && make install
## External provers
# Download Marabou and install system dependencies
RUN sudo apt-get install -yy cmake gfortran wget && \
git clone --depth 1 https://github.com/NeuralNetworkVerification/Marabou.git
# Build Marabou
RUN cd Marabou && \
mkdir build && \
cd build && \
cmake .. \
-DBUILD_PYTHON=OFF \
-DRUN_UNIT_TEST=OFF \
-DRUN_MEMORY_TEST=OFF \
-DCMAKE_CXX_FLAGS="-Wno-error -Wno-sign-compare" && \
cmake --build .
# Extend PATH with path to the Marabou binary
ENV PATH "/home/opam/Marabou/build:$PATH"
# Download, build and install SAVer
RUN git clone --depth 1 https://github.com/svm-abstract-verifier/saver.git && \
cd saver/src && \
make && \
make install
# Extend PATH with path to the SAVer binary
ENV PATH "/home/opam/saver/bin:$PATH"
# Configuration check
RUN caisar config -d
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