Skip to content

Commit

Permalink
splitup
Browse files Browse the repository at this point in the history
  • Loading branch information
mike dupont committed Feb 21, 2024
1 parent 7e9145b commit 347ddfe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
12 changes: 1 addition & 11 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,5 @@ set -e
sudo apt update
sudo apt install -y opam libgmp-dev libcurl4-gnutls-dev
opam init --shell-setup -y
eval $(opam env --switch=default)
opam repo add coq-released https://coq.inria.fr/opam/released
opam repo add coq-extra-dev https://coq.inria.fr/opam/extra-dev


opam install --yes ppx_yojson_conv_lib stdio

opam install --yes coq
opam install --yes ppx_yojson lwt_ppx containers lambdasoup uri ezcurl ppx_yojson_conv ppx_yojson_conv_lib ezcurl-lwt yojson
opam install --yes --deps-only .
opam pin add --yes openai https://github.com/meta-introspector/openai-ocaml.git#main
dune build .
source ./build2.sh
11 changes: 6 additions & 5 deletions build2.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
set -e

#eval $(opam env --switch=default)
#opam switch
#eval $(opam env --switch=5.1.2+trunk)
eval $(opam env --switch=4.1.13)
opam install --yes ppx_yojson_conv_lib

opam repo add coq-released https://coq.inria.fr/opam/released
opam repo add coq-extra-dev https://coq.inria.fr/opam/extra-dev

opam install --yes ppx_yojson_conv_lib
opam install --yes ppx_yojson lwt_ppx containers lambdasoup uri ezcurl ppx_yojson_conv ppx_yojson_conv_lib ezcurl-lwt yojson stdio
opam install -w --yes --deps-only .
opam pin add --yes openai https://github.com/meta-introspector/openai-ocaml.git#main --update-invariant
dune build .
echo the following are optional and may take a long time
opam install --yes coq
opam install --yes serlib

0 comments on commit 347ddfe

Please sign in to comment.