Skip to content

Commit 0e3352b

Browse files
committed
[LLVM] Bump to llvm 21.1.3
* Use Windows 2025 Signed-off-by: Shen-Ta Hsieh <[email protected]>
1 parent dac0f89 commit 0e3352b

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
jobs:
1818
build:
1919
name: Build llvm on Windows
20-
runs-on: windows-2022
20+
runs-on: windows-2025
2121
strategy:
2222
matrix:
2323
rtlib: ["MultiThreadedDLL"]
@@ -36,7 +36,7 @@ jobs:
3636
sdk-version: 26100
3737

3838
- name: Checkout llvm
39-
run: git clone --quiet --branch llvmorg-19.1.6 --depth 1 https://github.com/llvm/llvm-project.git
39+
run: git clone --quiet --branch llvmorg-21.1.3 --depth 1 https://github.com/llvm/llvm-project.git
4040

4141
- name: Build llvm stage 1
4242
run: |
@@ -65,10 +65,10 @@ jobs:
6565
cmake -Bbuild -GNinja -DCMAKE_SYSTEM_VERSION=$cmake_sys_ver -DCMAKE_MSVC_RUNTIME_LIBRARY=${{ matrix.rtlib }} -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=$prefix -DCMAKE_MT:PATH=$cmake_mt -DLLVM_TARGETS_TO_BUILD="X86" -DLLVM_ENABLE_PROJECTS="lld;clang;clang-tools-extra" -DLLVM_ENABLE_DIA_SDK=OFF llvm-project\llvm
6666
cmake --build build --target install
6767
68-
- name: Repack zip package
68+
- name: Create zip package
6969
run: |
70-
Rename-Item prefix LLVM-19.1.6-win64
71-
7z a -mx=9 -tzip -mtm=off -mtc=off -mta=off LLVM-19.1.6-win64-${{ matrix.rtlib }}.zip LLVM-19.1.6-win64
70+
Rename-Item prefix LLVM-21.1.3-win64
71+
7z a -mx=9 -tzip -mtm=off -mtc=off -mta=off LLVM-21.1.3-win64-${{ matrix.rtlib }}.zip LLVM-21.1.3-win64
7272
7373
- name: Upload Artifact
7474
uses: actions/upload-artifact@v4

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
build:
1414
name: Build llvm on Windows
15-
runs-on: windows-2022
15+
runs-on: windows-2025
1616
strategy:
1717
matrix:
1818
rtlib: ["MultiThreadedDLL"]
@@ -37,7 +37,7 @@ jobs:
3737
3838
- name: Checkout llvm
3939
if: ${{ github.event_name == 'push' }}
40-
run: git clone --quiet --branch llvmorg-19.1.6 --depth 1 https://github.com/llvm/llvm-project.git
40+
run: git clone --quiet --branch llvmorg-21.1.3 --depth 1 https://github.com/llvm/llvm-project.git
4141

4242
- name: Build llvm stage 1
4343
run: |
@@ -68,11 +68,11 @@ jobs:
6868
6969
- name: Create zip package
7070
run: |
71-
Rename-Item prefix LLVM-19.1.6-win64
72-
7z a -mx=9 -tzip -mtm=off -mtc=off -mta=off LLVM-19.1.6-win64-${{ matrix.rtlib }}.zip LLVM-19.1.6-win64
71+
Rename-Item prefix LLVM-21.1.3-win64
72+
7z a -mx=9 -tzip -mtm=off -mtc=off -mta=off LLVM-21.1.3-win64-${{ matrix.rtlib }}.zip LLVM-21.1.3-win64
7373
7474
- name: Create release and Upload LLVM zip package
7575
env:
7676
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7777
run: |
78-
gh release create --draft --prerelease --notes-from-tag llvmorg-19.1.6 $pwd\LLVM-19.1.6-win64-${{ matrix.rtlib }}.zip
78+
gh release create --draft --prerelease --notes-from-tag llvmorg-21.1.3 $pwd\LLVM-21.1.3-win64-${{ matrix.rtlib }}.zip

0 commit comments

Comments
 (0)