Debian Codegraph @

dev/ci/scripts/ci-compcert.sh

raw symbols SCIP
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 compcert
9
10 if [ "$DOWNLOAD_ONLY" ]; then exit 0; fi
11
12 # CompCert does compile with -native-compiler yes
13 # but with excessive memory requirements
14 export COQCOPTS='-native-compiler no -w -undeclared-scope -w -omega-is-deprecated'
15 ( cd "${CI_BUILD_DIR}/compcert"
16 [ -e Makefile.config ] || ./configure -ignore-coq-version x86_32-linux -install-coqdev -clightgen -use-external-MenhirLib -use-external-Flocq -prefix ${CI_INSTALL_DIR} -coqdevdir ${CI_INSTALL_DIR}/lib/coq/user-contrib/compcert
17 make
18 make check-proof COQCHK='"$(COQBIN)coqchk" -silent -o $(COQINCLUDES)'
19 make install
20 )