aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Pierre Letouzey <pierre.letouzey@inria.fr>2017-06-06 19:45:48 +0200
committerGravatar Pierre Letouzey <pierre.letouzey@inria.fr>2017-06-13 10:30:29 +0200
commitfe972a369adf533e2f4ec89eafb63b08a26e2ec7 (patch)
treedbd134d98a6fbb3c52a4ca767e45da24e3fe4d7e
parent295107103aaa86db8a31abb0e410123212648d45 (diff)
[travis] adapt CoLoR compilation to depend on the bignum package
-rwxr-xr-xdev/ci/ci-color.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev/ci/ci-color.sh b/dev/ci/ci-color.sh
index 3f0716511..cb212e845 100755
--- a/dev/ci/ci-color.sh
+++ b/dev/ci/ci-color.sh
@@ -5,6 +5,19 @@ 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} )