chore: provide llvm

This commit is contained in:
Gregor Kleen 2020-08-14 21:28:37 +02:00
parent 8f681b5eb7
commit 4478f38717

View File

@ -93,9 +93,11 @@ yesod:build:dev:
before_script: &haskell
- rm -rvf /etc/apt/sources.list /etc/apt/sources.list.d
- install -v -T -m 0644 ${APT_SOURCES_LIST} /etc/apt/sources.list
- curl https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
- apt-key add ${LLVM_APT_KEY}
- apt update -y
- apt install -y --no-install-recommends locales-all openssh-client clang-9 lldb-9 lld-9 clangd-9
- apt install -y --no-install-recommends locales-all openssh-client llvm-9
- ln -vsf llc-9 /usr/bin/llc
- ln -vsf opt-9 /usr/bin/opt
- install -v -m 0700 -d ~/.ssh
- install -v -T -m 0644 ${SSH_KNOWN_HOSTS} ~/.ssh/known_hosts
- install -v -T -m 0400 ${SSH_DEPLOY_KEY} ~/.ssh/deploy && echo "IdentityFile ~/.ssh/deploy" >> ~/.ssh/config;