mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 10:37:46 +00:00
16cd500000
This was still at jammy (22.04), while the CI container was noble (24.04). Somehow this didn't break, but it certainly isn't ideal to install packages across Ubuntu versions!
13 lines
556 B
Bash
Executable File
13 lines
556 B
Bash
Executable File
# Command that's part of sizediff.yml. This is put in a separate file so that it
|
|
# still works after checking out the dev branch (that is, when going from LLVM
|
|
# 16 to LLVM 17 for example, both Clang 16 and Clang 17 are installed).
|
|
|
|
echo 'deb https://apt.llvm.org/noble/ llvm-toolchain-noble-18 main' | sudo tee /etc/apt/sources.list.d/llvm.list
|
|
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
|
sudo apt-get update
|
|
sudo apt-get install --no-install-recommends -y \
|
|
llvm-18-dev \
|
|
clang-18 \
|
|
libclang-18-dev \
|
|
lld-18
|