blob: 5c027a860f983c3cc1fead69d82724ca34814ec4 [file] [log] [blame]
Eric Fiseliera8aa58f2019-06-18 19:31:38 +00001#!/usr/bin/env bash
2
3set -x
4
5cd /libcxx
6git pull
7
8
9#pushd /tmp
10#curl -sSO https://dl.google.com/cloudagents/install-monitoring-agent.sh
11#bash install-monitoring-agent.sh
12#curl -sSO https://dl.google.com/cloudagents/install-logging-agent.sh
13#bash install-logging-agent.sh --structured
14#popd
15
16
17apt-get update -y
18apt-get upgrade -y
19
20apt-get install sudo -y
21
22# FIXME(EricWF): Remove this hack. It's only in place to temporarily fix linking libclang_rt from the
23# debian packages.
24# WARNING: If you're not a buildbot, DO NOT RUN!
25apt-get install lld-9
26rm /usr/bin/ld
27ln -s /usr/bin/lld-9 /usr/bin/ld
28
29systemctl set-property buildslave.service TasksMax=100000
30
31systemctl daemon-reload
32service buildslave restart