1#!/bin/bash 2 3set -e 4 5apt-get update -qq 6apt-get install -y --no-install-recommends wget gnupg ca-certificates apt-transport-https 7 8wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | apt-key add - 9 10# 1E9377A2BA9EF27F is the key for the ubuntu-toolchain-r PPA. 11apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1E9377A2BA9EF27F | cat 12 13# 15CF4D18AF4F7421 is the key for the http://apt.llvm.org/artful PPA. 14apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 15CF4D18AF4F7421 | cat 15 16apt-get update -qq 17apt-get install -y --allow-unauthenticated --no-install-recommends \ 18 file \ 19 valgrind \ 20 make \ 21 cmake \ 22 libboost-dev \ 23 libc++1 \ 24 libc++-dev \ 25 libc++abi1 \ 26 libc++abi-dev \ 27 dirmngr \ 28 python \ 29 python3 \ 30 python3-setuptools 31