summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2017-12-16 21:04:33 +0800
committerJohn Hodge <tpg@mutabah.net>2017-12-16 21:04:33 +0800
commit6cd1878b5eb779b844f8e34c20b6df29aa227529 (patch)
tree077fcbf1ea5901a1d0f7de3fbff0dccea8a92740
parent44926b645a04161184716fa87b3d561108689c78 (diff)
downloadmrust-6cd1878b5eb779b844f8e34c20b6df29aa227529.tar.gz
TestRustcBootstrap - Enable vendoring (avoids libgit2 problems on ubuntu)
-rwxr-xr-xTestRustcBootstrap.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/TestRustcBootstrap.sh b/TestRustcBootstrap.sh
index 3c0c7f25..db195038 100755
--- a/TestRustcBootstrap.sh
+++ b/TestRustcBootstrap.sh
@@ -27,6 +27,7 @@ cat - > ${WORKDIR}mrustc/rustc-1.20.0-src/config.toml <<EOF
cargo = "${PREFIX}bin/cargo"
rustc = "${PREFIX}bin/rustc"
full-bootstrap = true
+vendor = true
EOF
echo "--- Running x.py, see ${WORKDIR}mrustc.log for progress"
(cd ${WORKDIR} && mv mrustc build)
@@ -45,6 +46,7 @@ tar -xf rustc-1.20.0-src.tar.gz -C ${WORKDIR}official/
cat - > ${WORKDIR}official/rustc-1.20.0-src/config.toml <<EOF
[build]
full-bootstrap = true
+vendor = true
EOF
echo "--- Running x.py, see ${WORKDIR}official.log for progress"
(cd ${WORKDIR} && mv official build)