| 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 | git_download unimath |
| 9 | |
| 10 | if [scip-shell system . . `[`. "$DOWNLOAD_ONLY" ]; then exit 0; fi |
| 11 | |
| 12 | export COQEXTRAFLAGS='-native-compiler no' |
| 13 | ( cd "${CI_BUILD_DIR}/unimath" |
| 14 | # these files consumes too much memory for the shared workers |
| 15 | # (at least with -j 2 when the scheduler runs them in parallel) |
| 16 | for p in SubstitutionSystems Bicategories ModelCategories; do |
| 17 | sedscip-shell system . . sed. -i.bak "s|PACKAGES += $p||" Makefile |
| 18 | done |
| 19 | makescip-shell system . . make. BUILD_COQ=no |
| 20 | makescip-shell system . . make. BUILD_COQ=no install |
| 21 | ) |