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
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
Charles Southerland
frama-c
Commits
0e9c4996
Commit
0e9c4996
authored
4 years ago
by
Andre Maroneze
Browse files
Options
Downloads
Patches
Plain Diff
[Dev] update opam dependencies; fix Python for tests
parent
c58df58d
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
devel_tools/docker/frama-c.custom/Dockerfile
+12
-11
12 additions, 11 deletions
devel_tools/docker/frama-c.custom/Dockerfile
devel_tools/docker/frama-c.dev/Dockerfile
+4
-7
4 additions, 7 deletions
devel_tools/docker/frama-c.dev/Dockerfile
with
16 additions
and
18 deletions
devel_tools/docker/frama-c.custom/Dockerfile
+
12
−
11
View file @
0e9c4996
...
...
@@ -19,21 +19,25 @@ ENV PATH "/root/.opam/ocaml-base-compiler.4.08.1/bin:$PATH"
RUN
opam update
-y
&&
opam
install
depext
-y
# Install packages from reference configuration
# Note: Python and time packages are only required for tests, but if so,
# they need to be present before running './configure'
RUN
apt-get update
&&
opam update
-y
&&
opam depext
--install
-y
--verbose
\
alt-ergo.2.
0
.0
\
alt-ergo.2.
2
.0
\
apron.v0.9.12
\
conf-graphviz.0.1
\
mlgmpidl.1.2.12
\
ocamlfind.1.8.1
\
ocamlgraph.1.8.8
\
ppx_deriving_yojson.3.5.2
\
why3.1.3.
1
\
why3.1.3.
3
\
yojson.1.7.0
\
zarith.1.9.1
\
zmq.5.1.3
\
conf-python-3.1.0.0
\
conf-time.1
\
&&
rm
-rf
/var/lib/apt/lists/
*
RUN
why3 config
--
full-config
RUN
why3 config
--
detect
# with_source: keep Frama-C sources
ARG
with_source=no
...
...
@@ -52,14 +56,11 @@ RUN cd /root && \
# with_test: run Frama-C tests; requires "with_source=yes"
ARG
with_test=no
# run general tests, then test that WP can see external provers
RUN if
[
"
${
with_test
}
"
!=
"no"
]
;
then
\
apt-get update
&&
\
opam update
-y
&&
opam depext
--install
-y
\
conf-python-3.1.0.0
\
conf-time.1
\
--verbose
\
&&
\
rm
-rf
/var/lib/apt/lists/
*
&&
\
cd
/root/frama-c
&&
\
make tests
;
\
make tests
&&
\
(
cd
src/plugins/wp/tests/
&&
\
frama-c
-wp
wp_gallery/binary-multiplication-without-overflow.c
\
-wp-prover
alt-ergo,cvc4
)
;
\
fi
This diff is collapsed.
Click to expand it.
devel_tools/docker/frama-c.dev/Dockerfile
+
4
−
7
View file @
0e9c4996
...
...
@@ -19,6 +19,8 @@ ENV PATH "/root/.opam/ocaml-base-compiler.4.08.1/bin:$PATH"
RUN
opam update
-y
&&
opam
install
depext
-y
# Install packages from reference configuration
# Note: Python and time packages are only required for tests, but if so,
# they need to be present before running './configure'
RUN
apt-get update
&&
opam update
-y
&&
opam depext
--install
-y
--verbose
\
alt-ergo.2.2.0
\
apron.v0.9.12
\
...
...
@@ -31,6 +33,8 @@ RUN apt-get update && opam update -y && opam depext --install -y --verbose \
yojson.1.7.0
\
zarith.1.9.1
\
zmq.5.1.3
\
conf-python-3.1.0.0
\
conf-time.1
\
&&
rm
-rf
/var/lib/apt/lists/
*
RUN
why3 config
--detect
...
...
@@ -52,13 +56,6 @@ ARG with_test=no
# run general tests, then test that WP can see external provers
RUN if
[
"
${
with_test
}
"
!=
"no"
]
;
then
\
apt-get update
&&
\
opam update
-y
&&
opam depext
--install
-y
\
conf-python-3.1.0.0
\
conf-time.1
\
--verbose
\
&&
\
rm
-rf
/var/lib/apt/lists/
*
&&
\
cd
/root/frama-c
&&
\
make tests
&&
\
(
cd
src/plugins/wp/tests/
&&
\
...
...
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