| 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 unimath |
| 9 | |
| 10 | if [ "$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 | sed -i.bak "s|PACKAGES += $p||" Makefile |
| 18 | done |
| 19 | make BUILD_COQ=no |
| 20 | make BUILD_COQ=no install |
| 21 | ) |