Skip to content

Commit 27fcd01

Browse files
committed
Bump LDC-LLVM to v21.1.5
1 parent 25916d8 commit 27fcd01

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/actions/1-setup/action.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,30 +37,30 @@ runs:
3737
# Make sure to link libzstd statically
3838
sudo rm /usr/lib/$arch-linux-gnu/libzstd.so
3939
40-
- name: 'Linux: Install clang 20 from apt.llvm.org'
40+
- name: 'Linux: Install clang 21 from apt.llvm.org'
4141
if: runner.os == 'Linux'
4242
shell: bash
4343
run: |
4444
set -eux
4545
cd ..
4646
curl -fL --retry 3 --max-time 30 -O https://apt.llvm.org/llvm.sh
47-
sudo bash llvm.sh 20
47+
sudo bash llvm.sh 21
4848
for tool in clang clang++ ld.lld; do
49-
sudo ln -sf $tool-20 /usr/bin/$tool
49+
sudo ln -sf $tool-21 /usr/bin/$tool
5050
$tool --version
5151
done
52-
- name: 'macOS arm64: Install Homebrew clang 20' # see mimalloc comment in ../3-build-native/action.yml
52+
- name: 'macOS arm64: Install Homebrew clang 21' # see mimalloc comment in ../3-build-native/action.yml
5353
if: runner.os == 'macOS' && inputs.arch == 'arm64'
5454
shell: bash
55-
run: brew install llvm@20
56-
- name: 'Windows: Install clang v20.1.3 from GitHub'
55+
run: brew install llvm@21
56+
- name: 'Windows: Install clang v21.1.5 from GitHub'
5757
if: runner.os == 'Windows'
5858
shell: bash
5959
run: |
6060
set -eux
6161
cd ..
6262
curl -fL --retry 3 --max-time 300 -o clang.exe \
63-
https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.3/LLVM-20.1.3-win64.exe
63+
https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.5/LLVM-21.1.5-win64.exe
6464
./clang.exe //S # double-slash for bash
6565
rm clang.exe
6666
# C:\Program Files\LLVM\bin should already be in PATH

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ concurrency:
1414
cancel-in-progress: true
1515

1616
env:
17-
LLVM_VERSION: 20.1.5
17+
LLVM_VERSION: c922a5f9
1818

1919
jobs:
2020
build-native:
@@ -85,8 +85,8 @@ jobs:
8585
os: macos-15
8686
arch: arm64
8787
extra_cmake_flags: >-
88-
-DCMAKE_C_COMPILER=/opt/homebrew/opt/llvm@20/bin/clang
89-
-DCMAKE_CXX_COMPILER=/opt/homebrew/opt/llvm@20/bin/clang++
88+
-DCMAKE_C_COMPILER=/opt/homebrew/opt/llvm@21/bin/clang
89+
-DCMAKE_CXX_COMPILER=/opt/homebrew/opt/llvm@21/bin/clang++
9090
-DD_COMPILER_FLAGS="-O -flto=full -defaultlib=phobos2-ldc-lto,druntime-ldc-lto -L-exported_symbol '-L__*' -L-w"
9191
-DEXTRA_CXXFLAGS=-flto=full
9292
with_pgo: true

0 commit comments

Comments
 (0)