Skip to content

Commit 0a15400

Browse files
authored
CI: build LLVM 21 (#30)
1 parent 8d80152 commit 0a15400

File tree

3 files changed

+34
-6
lines changed

3 files changed

+34
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
matrix:
1111
target:
1212
- id: "linux-amd64"
13-
os: "ubuntu-20.04"
13+
os: "ubuntu-24.04"
1414
tar_extra_args: ""
1515
- id: "linux-aarch64"
1616
os: "ubuntu-24.04-arm"
@@ -35,7 +35,7 @@ jobs:
3535
# adds an additional copy per link, but it reliably works and
3636
# the additional size is not too large on Windows.
3737
tar_extra_args: "--dereference"
38-
llvm_version: ["18.x"]
38+
llvm_version: ["21.x"]
3939
llvm_repo_url: ["https://github.com/llvm/llvm-project.git"]
4040
fail-fast: true
4141

@@ -55,7 +55,7 @@ jobs:
5555
if: matrix.target.id == 'linux-riscv64'
5656
shell: bash
5757
run: |
58-
sudo apt-get install gcc-12-riscv64-linux-gnu g++-12-riscv64-linux-gnu gcc-12-multilib binutils-riscv64-linux-gnu libgcc-12-dev-riscv64-cross libstdc++6-riscv64-cross -y
58+
sudo apt-get install gcc-13-riscv64-linux-gnu g++-13-riscv64-linux-gnu gcc-13-multilib binutils-riscv64-linux-gnu libgcc-13-dev-riscv64-cross libstdc++6-riscv64-cross -y
5959
6060
- name: Install `ninja` on macOS
6161
if: startsWith(matrix.target.id, 'darwin-')
@@ -122,11 +122,11 @@ jobs:
122122

123123
strategy:
124124
matrix:
125-
llvm_version: ["18.x"]
125+
llvm_version: ["21.x"]
126126

127127
steps:
128128
- name: Download the Artifacts
129-
uses: actions/download-artifact@v3
129+
uses: actions/download-artifact@v4
130130
with:
131131
path: artifacts
132132

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,35 @@ assets](https://github.com/wasmerio/llvm-custom-builds/releases).
4848
</tr>
4949
</thead>
5050
<tbody>
51+
<tr>
52+
<td rowspan="6">21</td>
53+
<td rowspan="3">amd64</td>
54+
<td>Darwin</td>
55+
<td><a href="https://github.com/wasmerio/llvm-custom-builds/releases/download/21.x/llvm-darwin-amd64.tar.xz">download</a></td>
56+
</tr>
57+
<tr>
58+
<td>Linux</td>
59+
<td><a href="https://github.com/wasmerio/llvm-custom-builds/releases/download/21.x/llvm-linux-amd64.tar.xz">download</a></td>
60+
</tr>
61+
<tr>
62+
<td>Windows</td>
63+
<td><a href="https://github.com/wasmerio/llvm-custom-builds/releases/download/21.x/llvm-windows-amd64.tar.xz">download</a></td>
64+
</tr>
65+
<tr>
66+
<td rowspan="2">aarch64</td>
67+
<td>Linux</td>
68+
<td><a href="https://github.com/wasmerio/llvm-custom-builds/releases/download/21.x/llvm-linux-aarch64.tar.xz">download</a></td>
69+
</tr>
70+
<tr>
71+
<td>Darwin</td>
72+
<td><a href="https://github.com/wasmerio/llvm-custom-builds/releases/download/21.x/llvm-darwin-aarch64.tar.xz">download</a></td>
73+
</tr>
74+
</tr>
75+
<td>riscv64</td>
76+
<td>Linux</td>
77+
<td><a href="https://github.com/wasmerio/llvm-custom-builds/releases/download/21.x/llvm-linux-riscv64.tar.xz">download</a></td>
78+
<tr>
79+
<tr>
5180
<tr>
5281
<td rowspan="6">18</td>
5382
<td rowspan="3">amd64</td>

build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ cmake \
6363
-DCMAKE_BUILD_TYPE=MinSizeRel \
6464
-DCMAKE_INSTALL_PREFIX="/" \
6565
-DLLVM_ENABLE_PROJECTS="clang;lld" \
66-
-DLLVM_ENABLE_TERMINFO=OFF \
6766
-DLLVM_ENABLE_ZLIB=OFF \
6867
-DLLVM_INCLUDE_DOCS=OFF \
6968
-DLLVM_INCLUDE_EXAMPLES=OFF \

0 commit comments

Comments
 (0)