Skip to content

Commit aafadd1

Browse files
committed
Update LLVM to version 22
1 parent a4d4380 commit aafadd1

File tree

13 files changed

+54
-45
lines changed

13 files changed

+54
-45
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
}
1414
},
15-
"image": "ghcr.io/learning-process/ppc-ubuntu:1.1",
15+
"image": "ghcr.io/learning-process/ppc-ubuntu:1.2",
1616
"name": "Parallel Programming Course",
1717
"postCreateCommand": "python3 -m pip install -r requirements.txt"
1818
}

.github/actions/clang-tidy-native/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ inputs:
1212
clang_tidy_version:
1313
description: 'Clang-tidy version to use'
1414
required: false
15-
default: '21'
15+
default: '22'
1616
outputs:
1717
total_comments:
1818
description: 'Total number of clang-tidy issues found'

.github/workflows/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ jobs:
5050
file: ./docker/ubuntu.Dockerfile
5151
platforms: linux/amd64,linux/arm64
5252
push: ${{ github.ref == 'refs/heads/master' }}
53-
tags: ghcr.io/learning-process/ppc-ubuntu:1.1
53+
tags: ghcr.io/learning-process/ppc-ubuntu:1.2

.github/workflows/perf.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
ubuntu-gcc-build-perf-stats:
1212
runs-on: ubuntu-24.04
1313
container:
14-
image: ghcr.io/learning-process/ppc-ubuntu:1.1
14+
image: ghcr.io/learning-process/ppc-ubuntu:1.2
1515
credentials:
1616
username: ${{ github.actor }}
1717
password: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/pre-commit.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
pre-commit:
3232
runs-on: ubuntu-24.04
3333
container:
34-
image: ghcr.io/learning-process/ppc-ubuntu:1.1
34+
image: ghcr.io/learning-process/ppc-ubuntu:1.2
3535
credentials:
3636
username: ${{ github.actor }}
3737
password: ${{ secrets.GITHUB_TOKEN }}
@@ -46,6 +46,11 @@ jobs:
4646
- name: Setup environment
4747
run: |
4848
python3 -m pip install -r requirements.txt --break-system-packages --ignore-installed
49+
- name: Install Docker CLI
50+
run: |
51+
apt-get update
52+
apt-get install -y --no-install-recommends docker.io
53+
rm -rf /var/lib/apt/lists/*
4954
- name: Configure git safe directory
5055
run: |
5156
git config --global --add safe.directory '*'

.github/workflows/static-analysis-pr.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
clang-tidy:
2828
runs-on: ubuntu-24.04
2929
container:
30-
image: ghcr.io/learning-process/ppc-ubuntu:1.1
30+
image: ghcr.io/learning-process/ppc-ubuntu:1.2
3131
credentials:
3232
username: ${{ github.actor }}
3333
password: ${{ secrets.GITHUB_TOKEN }}
@@ -49,15 +49,15 @@ jobs:
4949
cmake -S . -B build -G Ninja
5050
-D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_COMPILE_WARNING_AS_ERROR=ON
5151
env:
52-
CC: clang-21
53-
CXX: clang++-21
52+
CC: clang-22
53+
CXX: clang++-22
5454

5555
- name: Build project
5656
run: |
5757
cmake --build build --parallel -- --quiet
5858
env:
59-
CC: clang-21
60-
CXX: clang++-21
59+
CC: clang-22
60+
CXX: clang++-22
6161

6262
- name: Show ccache stats
6363
run: ccache --show-stats
@@ -66,7 +66,7 @@ jobs:
6666
id: review
6767
with:
6868
exclude: "3rdparty build"
69-
clang_tidy_version: "21"
69+
clang_tidy_version: "22"
7070
- if: steps.review.outputs.total_comments > 0
7171
run: |
7272
echo "clang-tidy run has failed. See previous 'Run clang-tidy' stage logs"
@@ -76,7 +76,7 @@ jobs:
7676
- clang-tidy
7777
runs-on: ubuntu-24.04
7878
container:
79-
image: ghcr.io/learning-process/ppc-ubuntu:1.1
79+
image: ghcr.io/learning-process/ppc-ubuntu:1.2
8080
credentials:
8181
username: ${{ github.actor }}
8282
password: ${{ secrets.GITHUB_TOKEN }}
@@ -115,7 +115,7 @@ jobs:
115115
id: review
116116
with:
117117
exclude: "3rdparty build docs_venv .git .pytest_cache .ruff_cache xml"
118-
clang_tidy_version: "21"
118+
clang_tidy_version: "22"
119119
- if: steps.review.outputs.total_comments > 0
120120
run: |
121121
echo "clang-tidy run has failed. See previous 'Run clang-tidy' stage logs"

.github/workflows/ubuntu.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
gcc-build:
1818
runs-on: ${{ matrix.os }}
1919
container:
20-
image: ghcr.io/learning-process/ppc-ubuntu:1.1
20+
image: ghcr.io/learning-process/ppc-ubuntu:1.2
2121
credentials:
2222
username: ${{ github.actor }}
2323
password: ${{ secrets.GITHUB_TOKEN }}
@@ -71,7 +71,7 @@ jobs:
7171
- gcc-build
7272
runs-on: ${{ matrix.os }}
7373
container:
74-
image: ghcr.io/learning-process/ppc-ubuntu:1.1
74+
image: ghcr.io/learning-process/ppc-ubuntu:1.2
7575
credentials:
7676
username: ${{ github.actor }}
7777
password: ${{ secrets.GITHUB_TOKEN }}
@@ -103,7 +103,7 @@ jobs:
103103
- gcc-test
104104
runs-on: ${{ matrix.os }}
105105
container:
106-
image: ghcr.io/learning-process/ppc-ubuntu:1.1
106+
image: ghcr.io/learning-process/ppc-ubuntu:1.2
107107
credentials:
108108
username: ${{ github.actor }}
109109
password: ${{ secrets.GITHUB_TOKEN }}
@@ -127,7 +127,7 @@ jobs:
127127
clang-build:
128128
runs-on: ${{ matrix.os }}
129129
container:
130-
image: ghcr.io/learning-process/ppc-ubuntu:1.1
130+
image: ghcr.io/learning-process/ppc-ubuntu:1.2
131131
credentials:
132132
username: ${{ github.actor }}
133133
password: ${{ secrets.GITHUB_TOKEN }}
@@ -149,14 +149,14 @@ jobs:
149149
cmake -S . -B build -G Ninja
150150
-D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=install
151151
env:
152-
CC: clang-21
153-
CXX: clang++-21
152+
CC: clang-22
153+
CXX: clang++-22
154154
- name: Build project
155155
run: |
156156
cmake --build build --parallel -- --quiet
157157
env:
158-
CC: clang-21
159-
CXX: clang++-21
158+
CC: clang-22
159+
CXX: clang++-22
160160
- name: Install project
161161
run: |
162162
cmake --build build --target install -- --quiet
@@ -172,7 +172,7 @@ jobs:
172172
- clang-build
173173
runs-on: ${{ matrix.os }}
174174
container:
175-
image: ghcr.io/learning-process/ppc-ubuntu:1.1
175+
image: ghcr.io/learning-process/ppc-ubuntu:1.2
176176
credentials:
177177
username: ${{ github.actor }}
178178
password: ${{ secrets.GITHUB_TOKEN }}
@@ -204,7 +204,7 @@ jobs:
204204
- clang-test
205205
runs-on: ${{ matrix.os }}
206206
container:
207-
image: ghcr.io/learning-process/ppc-ubuntu:1.1
207+
image: ghcr.io/learning-process/ppc-ubuntu:1.2
208208
credentials:
209209
username: ${{ github.actor }}
210210
password: ${{ secrets.GITHUB_TOKEN }}
@@ -230,7 +230,7 @@ jobs:
230230
- clang-build
231231
runs-on: ${{ matrix.os }}
232232
container:
233-
image: ghcr.io/learning-process/ppc-ubuntu:1.1
233+
image: ghcr.io/learning-process/ppc-ubuntu:1.2
234234
credentials:
235235
username: ${{ github.actor }}
236236
password: ${{ secrets.GITHUB_TOKEN }}
@@ -254,14 +254,14 @@ jobs:
254254
-D ENABLE_ADDRESS_SANITIZER=ON -D ENABLE_UB_SANITIZER=ON -D ENABLE_LEAK_SANITIZER=ON
255255
-D CMAKE_INSTALL_PREFIX=install
256256
env:
257-
CC: clang-21
258-
CXX: clang++-21
257+
CC: clang-22
258+
CXX: clang++-22
259259
- name: Build project
260260
run: |
261261
cmake --build build --parallel -- --quiet
262262
env:
263-
CC: clang-21
264-
CXX: clang++-21
263+
CC: clang-22
264+
CXX: clang++-22
265265
- name: Install project
266266
run: |
267267
cmake --build build --target install -- --quiet
@@ -277,7 +277,7 @@ jobs:
277277
- clang-sanitizer-build
278278
runs-on: ${{ matrix.os }}
279279
container:
280-
image: ghcr.io/learning-process/ppc-ubuntu:1.1
280+
image: ghcr.io/learning-process/ppc-ubuntu:1.2
281281
credentials:
282282
username: ${{ github.actor }}
283283
password: ${{ secrets.GITHUB_TOKEN }}
@@ -315,7 +315,7 @@ jobs:
315315
- clang-sanitizer-test
316316
runs-on: ${{ matrix.os }}
317317
container:
318-
image: ghcr.io/learning-process/ppc-ubuntu:1.1
318+
image: ghcr.io/learning-process/ppc-ubuntu:1.2
319319
credentials:
320320
username: ${{ github.actor }}
321321
password: ${{ secrets.GITHUB_TOKEN }}
@@ -348,7 +348,7 @@ jobs:
348348
issues: write
349349
pull-requests: write
350350
container:
351-
image: ghcr.io/learning-process/ppc-ubuntu:1.1
351+
image: ghcr.io/learning-process/ppc-ubuntu:1.2
352352
credentials:
353353
username: ${{ github.actor }}
354354
password: ${{ secrets.GITHUB_TOKEN }}

docker/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## ppc-ubuntu
44

5+
### [1.2] - 2026-02-25
6+
7+
- Update LLVM version to 22
8+
59
### [1.1] - 2025-08-30
610

711
- Update LLVM version to 21

docker/ubuntu.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN set -e \
1919
gcovr zip \
2020
&& wget -q https://apt.llvm.org/llvm.sh \
2121
&& chmod +x llvm.sh \
22-
&& ./llvm.sh 21 all \
22+
&& ./llvm.sh 22 all \
2323
&& rm llvm.sh \
2424
&& apt-get clean \
2525
&& rm -rf /var/lib/apt/lists/*

docs/locale/en/LC_MESSAGES/user_guide/ci.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,9 @@ msgstr ""
261261

262262
#: ../../../../docs/user_guide/ci.rst:143
263263
msgid ""
264-
"clang-tidy version - CI uses clang-tidy 21. Prefer the same locally to "
265-
"avoid mismatches. - The helper may be named ``clang-tidy-21`` or ``run-"
266-
"clang-tidy-21`` on some systems."
264+
"clang-tidy version - CI uses clang-tidy 22. Prefer the same locally to "
265+
"avoid mismatches. - The helper may be named ``clang-tidy-22`` or ``run-"
266+
"clang-tidy-22`` on some systems."
267267
msgstr ""
268268

269269
#: ../../../../docs/user_guide/ci.rst:147

0 commit comments

Comments
 (0)