summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2013-07-09 18:58:54 (GMT)
committerRemko Tronçon <git@el-tramo.be>2013-07-09 18:59:10 (GMT)
commit1b4b09b83eeff9369aa7809b7755a3e1dd6c0029 (patch)
tree28da3eddccd0cfa4bb7d8a0741b754ec43b6a53e
parent21089b48324fc48ab13e65bff2918f266d6d5967 (diff)
downloadswift-contrib-1b4b09b83eeff9369aa7809b7755a3e1dd6c0029.zip
swift-contrib-1b4b09b83eeff9369aa7809b7755a3e1dd6c0029.tar.bz2
Add settings to make scons build faster.
Change-Id: Iaa86883f483f0d852fceeaf5b645395457547428
-rw-r--r--BuildTools/SCons/SConscript.boot5
1 files changed, 5 insertions, 0 deletions
diff --git a/BuildTools/SCons/SConscript.boot b/BuildTools/SCons/SConscript.boot
index 7cd0d1a..1a32488 100644
--- a/BuildTools/SCons/SConscript.boot
+++ b/BuildTools/SCons/SConscript.boot
@@ -117,6 +117,11 @@ if env["max_jobs"] :
except ImportError :
pass
+# Set speed options
+env.Decider("MD5-timestamp")
+env.SetOption("max_drift", 1)
+env.SetOption("implicit_cache", True)
+
# Set the default compiler to CLang on OS X, and set the necessary flags
if env["PLATFORM"] == "darwin" and env["target"] == "native" :
if "cc" not in env :