Closed brando90 closed 1 year ago
For now this is what works, which is no different from what you tried had:
# Cheerios has its own issues
git clone git@github.com:uwplse/cheerios.git deps/cheerios
(cd deps/cheerios && opam install -y --ignore-constraints-on=coq .)
## this doesn't seem to do anything different than the above attempt, above uses dev & ends up using cheerios-runtime
#git clone git@github.com:uwplse/cheerios.git deps/cheerios
##(cd deps/cheerios && git checkout 9c7f66e57b91f706d70afa8ed99d64ed98ab367d && git rev-parse HEAD)
#(cd deps/cheerios && git checkout 37a30160b4e232555245fbbfb64acfc3d03fda91 && git rev-parse HEAD) # right before coq >=8.14 warning
##(cd deps/cheerios && git checkout 81a8f820e639067fda0082493a18c7a9b30ee69d && git rev-parse HEAD) # coq >=8.14 warning
##(cd deps/cheerios && opam install -y .)
#(cd deps/cheerios && opam install -y --ignore-constraints-on=coq .)
crossing fingers it works and there is no name space confusion due to cheerious-runtime
vs coq-cheerios
my request for verdi coq 8.12, though I doubt it will work: https://github.com/uwplse/verdi/issues/138
either what you did did work for you or the other solutions:
coq-cheerios and cheerios-runtime aren't different names for the same package, they are two different packages. coq-cheerios depends on cheerios-runtime to work. Your original opam command installed cheerios-runtime, but failed to install coq-cheerios. I never built Cheerios for Coq 8.12, in the Proverbot install it uses Coq 8.10. There's a Coq 8.10 compatible commit here: https://github.com/uwplse/cheerios/commit/f0c7659c44999c6cfcd484dc3182affc3ff4248a
I never built Cheerios for Coq 8.12, in the Proverbot install it uses Coq 8.10.
Hi Alex! @HazardousPeach
You have this line in your install coqgym deps:
and this one
they come after activating coq 8.12 switch
which made me think and try to install a stable version of cheerios and verdi from source fcsl-pcm is also installed later:
actually all of these are installed for coq 8.12
# Install some coqgym deps that don't have the right versions in their
# official opam packages
git clone git@github.com:uwplse/StructTact.git deps/StructTact
(cd deps/StructTact && opam install -y . )
git clone git@github.com:DistributedComponents/InfSeqExt.git deps/InfSeqExt
(cd deps/InfSeqExt && opam install -y . )
# Cheerios has its own issues
git clone git@github.com:uwplse/cheerios.git deps/cheerios
(cd deps/cheerios && opam install -y --ignore-constraints-on=coq . )
(cd coq-projects/verdi && opam install -y --ignore-constraints-on=coq . )
(cd coq-projects/fcsl-pcm && make "$@" && make install)
code: https://github.com/UCSD-PL/proverbot9001/blob/develop/install_coqgym_deps.sh
I assume we don't need them given your response. As always thanks for the responses.
There's a Coq 8.10 compatible commit here: uwplse/cheerios@f0c7659
cool I am using a different one that seems to install. Will record that commit in my file just in case:
# -- Get cheerios, req to have old versions work in opam: https://github.com/uwplse/cheerios/issues/17
eval $(opam env --switch=coq-8.10 --set-switch)
# opam install might give issues since it gets the most recent version from the official OPAM repository
#opam -y install coq-cheerios
#opam install -y coq-verdi
# use opam pin since pin is created to install specific version (e.g. from git, local, etc.)
#opam pin add coq-cheerios git+https://github.com/uwplse/cheerios.git#f0c7659c44999c6cfcd484dc3182affc3ff4248a
opam pin add coq-cheerios git+https://github.com/uwplse/cheerios.git#9c7f66e57b91f706d70afa8ed99d64ed98ab367
8.12 doesn't seem to be needed for verdi or cheerios. Confirmation will be here I hope: https://github.com/UCSD-PL/proverbot9001/issues/93
I tried looking for a commit for cheerios for coq 8.12 https://github.com/uwplse/cheerios/issues/20 but didn't really seem to find one. But I tried the proverbot command anyway and the install looks fishy but it seems fine from the opam list...is it really ok as is?