Skip to content

Commit

Permalink
Fix ci-compcert/ci-vst for local ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Villetaneuse committed Nov 19, 2023
1 parent 257b88d commit eaad2c5
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions dev/ci/ci-compcert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,15 @@ if [ "$DOWNLOAD_ONLY" ]; then exit 0; fi
# CompCert does compile with -native-compiler yes
# but with excessive memory requirements
export COQCOPTS='-native-compiler no -w -undeclared-scope -w -omega-is-deprecated'
( cd "${CI_BUILD_DIR}/compcert"
[ -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
make
make check-proof COQCHK='"$(COQBIN)coqchk" -silent -o $(COQINCLUDES)'
make install
(
cd "${CI_BUILD_DIR}/compcert"
if ! [ -e Makefile.config ]; then
./configure -ignore-coq-version x86_32-linux -install-coqdev \
-clightgen -use-external-MenhirLib -use-external-Flocq \
-prefix "$COQBIN" \
-coqdevdir "$COQLIB"/user-contrib/compcert
fi
make
make check-proof COQCHK='"$(COQBIN)coqchk" -silent -o $(COQINCLUDES)'
make install
)

0 comments on commit eaad2c5

Please sign in to comment.