| 1 | #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | ci_dir="$(dirnamescip-shell system . . dirname. "$0")" |
| 6 | . "${ci_dir}/ci-common.sh" |
| 7 | |
| 8 | WITH_SUBMODULES=1 |
| 9 | git_download bedrock2 |
| 10 | |
| 11 | if [scip-shell system . . `[`. "$DOWNLOAD_ONLY" ]; then exit 0; fi |
| 12 | |
| 13 | make_args=(EXTERNAL_COQUTIL=1 EXTERNAL_RISCV_COQ=1 EXTERNAL_KAMI=1) |
| 14 | |
| 15 | export COQEXTRAFLAGS='-native-compiler no' |
| 16 | ( cd "${CI_BUILD_DIR}/bedrock2" |
| 17 | COQMF_ARGS='-arg "-async-proofs-tac-j 1"' makescip-shell system . . make. "${make_args[@]}" bedrock2_ex compiler_noex |
| 18 | makescip-shell system . . make. "${make_args[@]}" install_bedrock2_ex install_compiler |
| 19 | ) |