aboutsummaryrefslogtreecommitdiffhomepage
path: root/dev/ci/ci-sf.sh
blob: 58bbb7229f76209583a02d96a0278d9955b120d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash

ci_dir="$(dirname "$0")"
. "${ci_dir}/ci-common.sh"

mkdir -p "${CI_BUILD_DIR}" && cd "${CI_BUILD_DIR}" || exit 1
wget -qO- "${sf_lf_CI_TARURL}"  | tar xvz
wget -qO- "${sf_plf_CI_TARURL}" | tar xvz
wget -qO- "${sf_vfa_CI_TARURL}" | tar xvz

sed -i.bak '1i From Coq Require Extraction.' lf/Extraction.v
sed -i.bak '1i From Coq Require Extraction.' vfa/Extract.v

( cd lf && make clean && make )

( cd plf && sed -i.bak 's/(K,N)/((K,N))/' LibTactics.v && make clean && make )

( cd vfa && make clean && make )