Skip to content

Commit

Permalink
Merge PR coq#18508: Bench: use 4.14.1 by default
Browse files Browse the repository at this point in the history
Reviewed-by: ppedrot
Reviewed-by: gares
Co-authored-by: ppedrot <[email protected]>
  • Loading branch information
coqbot-app[bot] and ppedrot authored Jan 23, 2024
2 parents 8561d71 + 8a41e18 commit e012009
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions dev/bench/bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ check_variable () {

: "${coq_pr_number:=}"
: "${coq_pr_comment_id:=}"
: "${new_ocaml_version:=4.09.1}"
: "${old_ocaml_version:=4.09.1}"
: "${new_ocaml_version:=4.14.1}"
: "${old_ocaml_version:=4.14.1}"
: "${new_ocaml_flambda:=0}"
: "${old_ocaml_flambda:=0}"
: "${new_coq_repository:=$CI_REPOSITORY_URL}"
: "${old_coq_repository:=$CI_REPOSITORY_URL}"
: "${new_coq_opam_archive_git_uri:=https://github.com/coq/opam-coq-archive.git}"
Expand Down Expand Up @@ -351,7 +353,7 @@ create_opam() {
# Rest of default switches
opam repo add -q --set-default iris-dev "https://gitlab.mpi-sws.org/FP/opam-dev.git"

if [[ $USE_FLAMBDA ]];
if [[ $USE_FLAMBDA = 1 ]];
then flambda=--packages=ocaml-variants.${OCAML_VER}+options,ocaml-option-flambda
else flambda=
fi
Expand Down Expand Up @@ -420,11 +422,13 @@ create_opam() {
}

# Create an OPAM-root to which we will install the NEW version of Coq.
create_opam "NEW" "$new_ocaml_version" "$new_coq_commit" "$new_coq_version" "$new_coq_opam_archive_dir"
create_opam "NEW" "$new_ocaml_version" "$new_coq_commit" "$new_coq_version" \
"$new_coq_opam_archive_dir" "$new_ocaml_flambda"
new_coq_commit_long="$COQ_HASH_LONG"

# Create an OPAM-root to which we will install the OLD version of Coq.
create_opam "OLD" "$old_ocaml_version" "$old_coq_commit" "$old_coq_version" "$old_coq_opam_archive_dir"
create_opam "OLD" "$old_ocaml_version" "$old_coq_commit" "$old_coq_version" \
"$old_coq_opam_archive_dir" "$old_ocaml_flambda"
old_coq_commit_long="$COQ_HASH_LONG"

# Packages which appear in the rendered table
Expand Down

0 comments on commit e012009

Please sign in to comment.