-
Notifications
You must be signed in to change notification settings - Fork 4
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
Showing
4 changed files
with
30 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
FROM ocaml/opam:ubuntu-23.04-ocaml-5.1 | ||
|
||
RUN opam update | ||
|
||
RUN git clone https://github.com/songyahui/AlgebraicEffect.git | ||
|
||
WORKDIR AlgebraicEffect | ||
|
||
RUN sudo apt-get update -y && sudo apt-get install -y libgmp-dev pkg-config python3 | ||
|
||
RUN opam install dune menhir ppx_deriving ppx_expect unionFind visitors z3 | ||
|
||
RUN sudo apt-get install -y libcairo2-dev libexpat1-dev libgtk-3-dev libgtksourceview-3.0-dev | ||
RUN opam install why3-ide | ||
|
||
RUN eval $(opam env) && dune build @install | ||
ENV PATH $PWD:$PATH |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
# Docker packaging | ||
|
||
```sh | ||
docker build -t heifer-icfp24 -f Dockerfile . --progress=plain | ||
docker run -it heifer-icfp24 bash | ||
``` |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
|
||
set -x | ||
dune exec parsing/hip.exe "$@" |