aboutsummaryrefslogtreecommitdiff
path: root/dev/ci/ci-compcert.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dev/ci/ci-compcert.sh')
-rwxr-xr-xdev/ci/ci-compcert.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev/ci/ci-compcert.sh b/dev/ci/ci-compcert.sh
new file mode 100755
index 0000000000..d4023c9165
--- /dev/null
+++ b/dev/ci/ci-compcert.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+ci_dir="$(dirname "$0")"
+source ${ci_dir}/ci-common.sh
+
+opam install -j ${NJOBS} -y menhir
+git clone --depth 3 -b coq-8.6 https://github.com/maximedenes/CompCert.git
+
+# Patch to avoid the upper version limit
+( cd CompCert && sed -i.bak 's/8.6)/8.6|trunk)/' configure && ./configure x86_32-linux && make -j ${NJOBS} )