| 1 | #!/usr/bin/env bash |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | ci_dir="$(dirname "$0")" |
| 6 | . "${ci_dir}/ci-common.sh" |
| 7 | |
| 8 | git_download autosubst_ocaml |
| 9 | |
| 10 | if [ "$DOWNLOAD_ONLY" ]; then exit 0; fi |
| 11 | |
| 12 | export COQEXTRAFLAGS='-native-compiler no' |
| 13 | ( cd "${CI_BUILD_DIR}/autosubst_ocaml" |
| 14 | dune build @install -p coq-autosubst-ocaml |
| 15 | dune install -p coq-autosubst-ocaml --prefix="$CI_INSTALL_DIR" |
| 16 | ) |