all: switch to LLVM 17 by default

This commit is contained in:
Ayke van Laethem
2024-01-06 13:35:51 +01:00
committed by Ron Evans
parent 9a4bfd0e96
commit 6cdfc298cf
8 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -142,8 +142,8 @@ jobs:
- name: Check binary
run: tinygo version
- name: Build TinyGo (default LLVM)
if: matrix.version == 16
if: matrix.version == 17
run: go install
- name: Check binary
if: matrix.version == 16
if: matrix.version == 17
run: tinygo version
+5 -5
View File
@@ -2,11 +2,11 @@
# 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/jammy/ llvm-toolchain-jammy-16 main' | sudo tee /etc/apt/sources.list.d/llvm.list
echo 'deb https://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 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-16-dev \
clang-16 \
libclang-16-dev \
lld-16
llvm-17-dev \
clang-17 \
libclang-17-dev \
lld-17