| 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 vst |
| 9 | |
| 10 | if [ "$DOWNLOAD_ONLY" ]; then exit 0; fi |
| 11 | |
| 12 | # sometimes (rarely) CompCert master can break VST and it can take |
| 13 | # weeks or months for VST to catch up, in this case, just uncomment |
| 14 | # the line below to use the compcert version bundled in VST |
| 15 | # export COMPCERT=bundled |
| 16 | |
| 17 | # See ci-compcert.sh |
| 18 | export COQEXTRAFLAGS='-native-compiler no' |
| 19 | ( cd "${CI_BUILD_DIR}/vst" |
| 20 | make IGNORECOQVERSION=true IGNORECOMPCERTVERSION=true |
| 21 | ) |