-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0490119
commit af90dd6
Showing
14 changed files
with
612 additions
and
665 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,15 @@ | ||
FROM ocaml/opam:debian-11-ocaml-4.14 | ||
RUN sudo apt-get update && sudo apt-get install -y libgmp-dev python3 | ||
# z3 | ||
WORKDIR /home/opam | ||
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam && \ | ||
opam init --reinit -ni | ||
# eval $(opam env) && \ | ||
# opam install zarith ocamlfind && \ | ||
# git clone --depth 1 https://github.com/Z3Prover/z3.git && \ | ||
# cd z3 && \ | ||
# opam exec -- python3 scripts/mk_make.py --ml && \ | ||
# cd build && \ | ||
# opam exec -- make && \ | ||
# opam exec -- sudo make install | ||
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam && opam init --reinit -ni | ||
RUN sudo apt-get update && sudo apt-get install -y libgmp-dev python3 | ||
WORKDIR /home/opam/pure-demand | ||
COPY --chown=opam . . | ||
RUN opam install . --deps-only && \ | ||
# opam install dune core && \ | ||
# opam list core | ||
eval $(opam env) && \ | ||
opam exec -- dune test program_analysis | ||
dune test program_analysis | ||
# RUN opam --version | ||
# RUN opam exec -- dune --version | ||
# RUN opam exec -- dune exec -- program_analysis/tests/tests.exe --runtime | ||
# CMD ["dune", "exec", "--", "program_analysis/tests/tests.exe", "--runtime"] | ||
ENTRYPOINT [ "_build/default/program_analysis/tests/tests.exe" ] | ||
# ENTRYPOINT [ "opam", "list", "core" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,8 +47,6 @@ | |
(>= 0.15.0)) | ||
(core_unix | ||
(>= 0.15.2)) | ||
(hashset | ||
(>= 1.0.0)) | ||
(fmt | ||
(>= 0.9.0)) | ||
(z3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
exception Unreachable | ||
exception BadAssert | ||
exception Bad_assert | ||
exception Runtime_error | ||
exception Verification_error of string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.