aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-05-13 17:00:43 -0700
committerGraydon Hoare <[email protected]>2011-05-13 17:06:58 -0700
commitae784df3ce0c354fde00a6d9a4a50d642bdb3560 (patch)
treeaf075f13c465dd3e43d8f9ade50d740953e02e79 /configure
parentrustc: Move replace_expr_type() from ty to typeck, as it's only used in the l... (diff)
downloadrust-ae784df3ce0c354fde00a6d9a4a50d642bdb3560.tar.xz
rust-ae784df3ce0c354fde00a6d9a4a50d642bdb3560.zip
Add support for 'T' transition snapshots, which are identical to S snapshots except they tell the makefile to stop at stage1.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index fa1329b2..e83787b5 100755
--- a/configure
+++ b/configure
@@ -217,6 +217,12 @@ then
err "either clang or gcc is required"
fi
+if head -n 1 ${CFG_SRC_DIR}src/snapshots.txt | grep -q '^T'
+then
+ CFG_IN_TRANSITION=1
+ putvar CFG_IN_TRANSITION
+fi
+
# Valgrind is only reliable on Linux. On Windows it doesn't work at all, and
# on the Mac the dynamic linker causes Valgrind to emit a huge stream of
# errors.