Rework docker setup to make it easier to work around bugs on buildbots
llvm-svn: 349234
diff --git a/libcxx/utils/docker/scripts/run_buildbot.sh b/libcxx/utils/docker/scripts/run_buildbot.sh
index 10cc09b..45f5a1c 100755
--- a/libcxx/utils/docker/scripts/run_buildbot.sh
+++ b/libcxx/utils/docker/scripts/run_buildbot.sh
@@ -12,6 +12,13 @@
apt-get update -y
apt-get upgrade -y
+# FIXME(EricWF): Remove this hack. It's only in place to temporarily fix linking libclang_rt from the
+# debian packages.
+# WARNING: If you're not a buildbot, DO NOT RUN!
+apt-get install lld-8
+rm /usr/bin/ld
+ln -s /usr/bin/lld-8 /usr/bin/ld
+
systemctl set-property buildslave.service TasksMax=100000
buildslave stop $BOT_DIR