blob: cb212e845ca7074cd02d9d1423baac6af6a128b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/usr/bin/env bash
ci_dir="$(dirname "$0")"
source ${ci_dir}/ci-common.sh
Color_CI_DIR=${CI_BUILD_DIR}/color
# Setup Bignums
git_checkout master https://github.com/coq/bignums.git bignums
( cd bignums && make -j ${NJOBS} && make install )
# Compiles CoLoR
svn checkout ${Color_CI_SVNURL} ${Color_CI_DIR}
sed -i -e "s/From Coq Require Import BigN/From Bignums Require Import BigN/" ${Color_CI_DIR}/Util/*/*.v
sed -i -e "s/From Coq Require Export BigN/From Bignums Require Export BigN/" ${Color_CI_DIR}/Util/*/*.v
sed -i -e "s/From Coq Require Import BigZ/From Bignums Require Import BigZ/" ${Color_CI_DIR}/Util/*/*.v
sed -i -e "s/From Coq Require Export BigZ/From Bignums Require Export BigZ/" ${Color_CI_DIR}/Util/*/*.v
( cd ${Color_CI_DIR} && make -j ${NJOBS} )
|