Skip to content

Commit 85548a3

Browse files
committed
Merge remote-tracking branch 'origin/main' into vplan-irphi
2 parents c305e73 + 5ec884e commit 85548a3

File tree

3,731 files changed

+164767
-87041
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,731 files changed

+164767
-87041
lines changed

.ci/metrics/metrics.py

Lines changed: 164 additions & 154 deletions
Large diffs are not rendered by default.

.github/workflows/build-metrics-container.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ on:
2020
jobs:
2121
build-metrics-container:
2222
if: github.repository_owner == 'llvm'
23-
runs-on: ubuntu-latest
23+
runs-on: ubuntu-24.04
2424
outputs:
2525
container-name: ${{ steps.vars.outputs.container-name }}
2626
container-name-tag: ${{ steps.vars.outputs.container-name-tag }}
2727
container-filename: ${{ steps.vars.outputs.container-filename }}
2828
steps:
2929
- name: Checkout LLVM
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3131
with:
3232
sparse-checkout: .ci/metrics/
3333
- name: Write Variables
@@ -49,7 +49,7 @@ jobs:
4949
run: |
5050
podman save ${{ steps.vars.outputs.container-name-tag }} > ${{ steps.vars.outputs.container-filename }}
5151
- name: Upload Container Image
52-
uses: actions/upload-artifact@v4
52+
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
5353
with:
5454
name: container
5555
path: ${{ steps.vars.outputs.container-filename }}
@@ -66,7 +66,7 @@ jobs:
6666
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6767
steps:
6868
- name: Download Container
69-
uses: actions/download-artifact@v4
69+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
7070
with:
7171
name: container
7272
- name: Push Container

.github/workflows/ci-post-commit-analyzer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
4545

4646
- name: Setup ccache
47-
uses: hendrikmuhs/ccache-action@v1
47+
uses: hendrikmuhs/ccache-action@a1209f81afb8c005c13b4296c32e363431bffea5 # v1.2.17
4848
with:
4949
# A full build of llvm, clang, lld, and lldb takes about 250MB
5050
# of ccache space. There's not much reason to have more than this,

.github/workflows/commit-access-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-22.04
1616
steps:
1717
- name: Fetch LLVM sources
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1919

2020
- name: Install dependencies
2121
run: |

.github/workflows/containers/github-action-ci/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ RUN cmake -B ./build -G Ninja ./llvm \
4040
RUN ninja -C ./build stage2-clang-bolt stage2-install-distribution && ninja -C ./build install-distribution
4141

4242
FROM base as ci-container
43-
43+
4444
COPY --from=stage1-toolchain $LLVM_SYSROOT $LLVM_SYSROOT
4545

4646
# Need to install curl for hendrikmuhs/ccache-action
@@ -49,7 +49,7 @@ COPY --from=stage1-toolchain $LLVM_SYSROOT $LLVM_SYSROOT
4949
# Need git for SPIRV-Tools tests.
5050
RUN apt-get update && \
5151
DEBIAN_FRONTEND=noninteractive apt-get install -y \
52-
binutils \
52+
binutils \
5353
cmake \
5454
curl \
5555
git \
@@ -59,7 +59,6 @@ RUN apt-get update && \
5959
perl-modules \
6060
python3-psutil \
6161
sudo \
62-
6362
# These are needed by the premerge pipeline. Pip is used to install
6463
# dependent python packages and ccache is used for build caching. File and
6564
# tzdata are used for tests.

.github/workflows/docs.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ on:
5151
jobs:
5252
check-docs-build:
5353
name: "Test documentation build"
54-
runs-on: ubuntu-latest
54+
runs-on: ubuntu-24.04
5555
if: github.repository == 'llvm/llvm-project'
5656
steps:
5757
# Don't fetch before checking for file changes to force the file changes
@@ -60,12 +60,12 @@ jobs:
6060
# a local checkout beforehand.
6161
- name: Fetch LLVM sources (Push)
6262
if: ${{ github.event_name == 'push' }}
63-
uses: actions/checkout@v4
63+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6464
with:
6565
fetch-depth: 1
6666
- name: Get subprojects that have doc changes
6767
id: docs-changed-subprojects
68-
uses: tj-actions/changed-files@v39
68+
uses: tj-actions/changed-files@dcc7a0cba800f454d79fff4b993e8c3555bcc0a8 # v45.0.7
6969
with:
7070
files_yaml: |
7171
llvm:
@@ -98,11 +98,11 @@ jobs:
9898
- '.github/workflows/docs.yml'
9999
- name: Fetch LLVM sources (PR)
100100
if: ${{ github.event_name == 'pull_request' }}
101-
uses: actions/checkout@v4
101+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
102102
with:
103103
fetch-depth: 1
104104
- name: Setup Python env
105-
uses: actions/setup-python@v5
105+
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
106106
with:
107107
python-version: '3.11'
108108
cache: 'pip'
@@ -216,7 +216,7 @@ jobs:
216216
mkdir built-docs/flang
217217
cp -r flang-build/docs/* built-docs/flang/
218218
- name: Upload docs
219-
uses: actions/upload-artifact@v4
219+
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
220220
with:
221221
name: docs-output
222222
path: built-docs/

.github/workflows/email-check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ permissions:
1010

1111
jobs:
1212
validate_email:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-24.04
1414
if: github.repository == 'llvm/llvm-project'
1515
steps:
1616
- name: Fetch LLVM sources
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1818
with:
1919
ref: ${{ github.event.pull_request.head.sha }}
2020

.github/workflows/issue-release-workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ env:
3232
jobs:
3333
backport-commits:
3434
name: Backport Commits
35-
runs-on: ubuntu-latest
35+
runs-on: ubuntu-24.04
3636
permissions:
3737
issues: write
3838
pull-requests: write
@@ -42,7 +42,7 @@ jobs:
4242
contains(github.event.action == 'opened' && github.event.issue.body || github.event.comment.body, '/cherry-pick')
4343
steps:
4444
- name: Fetch LLVM sources
45-
uses: actions/checkout@v4
45+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4646
with:
4747
repository: llvm/llvm-project
4848
# GitHub stores the token used for checkout and uses it for pushes

.github/workflows/issue-subscriber.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ permissions:
1010

1111
jobs:
1212
auto-subscribe:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-24.04
1414
if: github.repository == 'llvm/llvm-project'
1515
steps:
1616
- name: Checkout Automation Script
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1818
with:
1919
sparse-checkout: llvm/utils/git/
2020
ref: main

.github/workflows/issue-write.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414

1515
jobs:
1616
pr-comment:
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-24.04
1818
permissions:
1919
pull-requests: write
2020
if: >
@@ -25,7 +25,7 @@ jobs:
2525
)
2626
steps:
2727
- name: Fetch Sources
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2929
with:
3030
sparse-checkout: |
3131
.github/workflows/unprivileged-download-artifact/action.yml
@@ -39,7 +39,7 @@ jobs:
3939

4040
- name: 'Comment on PR'
4141
if: steps.download-artifact.outputs.artifact-id != ''
42-
uses: actions/github-script@v3
42+
uses: actions/github-script@ffc2c79a5b2490bd33e0a41c1de74b877714d736 # v3.2.0
4343
with:
4444
github-token: ${{ secrets.GITHUB_TOKEN }}
4545
script: |

.github/workflows/libc-fullbuild-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
# - c_compiler: gcc
3131
# cpp_compiler: g++
3232
steps:
33-
- uses: actions/checkout@v4
33+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3434

3535
# Libc's build is relatively small comparing with other components of LLVM.
3636
# A fresh fullbuild takes about 190MiB of uncompressed disk space, which can
@@ -39,7 +39,7 @@ jobs:
3939
# Do not use direct GHAC access even though it is supported by sccache. GHAC rejects
4040
# frequent small object writes.
4141
- name: Setup ccache
42-
uses: hendrikmuhs/[email protected]
42+
uses: hendrikmuhs/ccache-action@a1209f81afb8c005c13b4296c32e363431bffea5 # v1.2.17
4343
with:
4444
max-size: 1G
4545
key: libc_fullbuild_${{ matrix.c_compiler }}

.github/workflows/libc-overlay-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
cpp_compiler: clang++
4848

4949
steps:
50-
- uses: actions/checkout@v4
50+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5151

5252
# Libc's build is relatively small comparing with other components of LLVM.
5353
# A fresh linux overlay takes about 180MiB of uncompressed disk space, which can
@@ -57,7 +57,7 @@ jobs:
5757
# Do not use direct GHAC access even though it is supported by sccache. GHAC rejects
5858
# frequent small object writes.
5959
- name: Setup ccache
60-
uses: hendrikmuhs/ccache-action@v1
60+
uses: hendrikmuhs/ccache-action@a1209f81afb8c005c13b4296c32e363431bffea5 # v1.2.17
6161
with:
6262
max-size: 1G
6363
key: libc_overlay_build_${{ matrix.os }}_${{ matrix.compiler.c_compiler }}

.github/workflows/libclang-abi-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ concurrency:
2727
jobs:
2828
abi-dump-setup:
2929
if: github.repository_owner == 'llvm'
30-
runs-on: ubuntu-latest
30+
runs-on: ubuntu-24.04
3131
outputs:
3232
BASELINE_REF: ${{ steps.vars.outputs.BASELINE_REF }}
3333
ABI_HEADERS: ${{ steps.vars.outputs.ABI_HEADERS }}
@@ -38,7 +38,7 @@ jobs:
3838
LLVM_VERSION_PATCH: ${{ steps.version.outputs.patch }}
3939
steps:
4040
- name: Checkout source
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4242
with:
4343
fetch-depth: 250
4444

@@ -83,7 +83,7 @@ jobs:
8383
abi-dump:
8484
if: github.repository_owner == 'llvm'
8585
needs: abi-dump-setup
86-
runs-on: ubuntu-latest
86+
runs-on: ubuntu-24.04
8787
strategy:
8888
matrix:
8989
name:
@@ -137,7 +137,7 @@ jobs:
137137

138138
abi-compare:
139139
if: github.repository_owner == 'llvm'
140-
runs-on: ubuntu-latest
140+
runs-on: ubuntu-24.04
141141
needs:
142142
- abi-dump-setup
143143
- abi-dump

.github/workflows/libclang-python-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
strategy:
3131
fail-fast: false
3232
matrix:
33-
python-version: ["3.8", "3.11"]
33+
python-version: ["3.8", "3.13"]
3434
uses: ./.github/workflows/llvm-project-tests.yml
3535
with:
3636
build_target: check-clang-python

.github/workflows/libcxx-build-and-test.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
cc: 'gcc-14'
5656
cxx: 'g++-14'
5757
steps:
58-
- uses: actions/checkout@v4
58+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5959
- name: ${{ matrix.config }}.${{ matrix.cxx }}
6060
run: libcxx/utils/ci/run-buildbot ${{ matrix.config }}
6161
env:
@@ -105,7 +105,7 @@ jobs:
105105
cc: 'clang-18'
106106
cxx: 'clang++-18'
107107
steps:
108-
- uses: actions/checkout@v4
108+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
109109
- name: ${{ matrix.config }}
110110
run: libcxx/utils/ci/run-buildbot ${{ matrix.config }}
111111
env:
@@ -169,7 +169,7 @@ jobs:
169169
runs-on: ${{ matrix.machine }}
170170
container: ghcr.io/llvm/libcxx-linux-builder:b319dfef21f6c7b0bc6a356d6b9f41a3b3b98ae9
171171
steps:
172-
- uses: actions/checkout@v4
172+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
173173
- name: ${{ matrix.config }}
174174
run: libcxx/utils/ci/run-buildbot ${{ matrix.config }}
175175
env:
@@ -207,11 +207,11 @@ jobs:
207207
os: macos-13
208208
runs-on: ${{ matrix.os }}
209209
steps:
210-
- uses: actions/checkout@v4
211-
- uses: maxim-lobanov/setup-xcode@v1
210+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
211+
- uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
212212
with:
213213
xcode-version: 'latest'
214-
- uses: seanmiddleditch/gha-setup-ninja@master
214+
- uses: seanmiddleditch/gha-setup-ninja@3b1f8f94a2f8254bd26914c4ab9474d4f0015f67 # v6
215215
- name: Build and test
216216
run: |
217217
python3 -m venv .venv
@@ -247,7 +247,7 @@ jobs:
247247
- { config: mingw-dll-i686, mingw: true }
248248
- { config: mingw-incomplete-sysroot, mingw: true }
249249
steps:
250-
- uses: actions/checkout@v4
250+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
251251
- name: Install dependencies
252252
run: |
253253
choco install -y ninja
@@ -275,7 +275,7 @@ jobs:
275275
echo "c:\Program Files\Git\usr\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
276276
- name: Set up the MSVC dev environment
277277
if: ${{ matrix.mingw != true }}
278-
uses: ilammy/msvc-dev-cmd@v1
278+
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
279279
- name: Build and test
280280
run: |
281281
bash libcxx/utils/ci/run-buildbot ${{ matrix.config }}

.github/workflows/libcxx-build-containers.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ on:
2626

2727
jobs:
2828
build-and-push:
29-
runs-on: ubuntu-latest
29+
runs-on: ubuntu-24.04
3030
if: github.repository_owner == 'llvm'
3131
permissions:
3232
packages: write
3333

3434
steps:
35-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3636

3737
- name: Build the Linux builder image
3838
working-directory: libcxx/utils/ci
@@ -47,7 +47,7 @@ jobs:
4747
# TAG: ${{ github.sha }}
4848

4949
- name: Log in to GitHub Container Registry
50-
uses: docker/login-action@v3
50+
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
5151
with:
5252
registry: ghcr.io
5353
username: ${{ github.actor }}

.github/workflows/libcxx-check-generated-files.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ permissions:
99

1010
jobs:
1111
check_generated_files:
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-24.04
1313
steps:
1414
- name: Fetch LLVM sources
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1616

1717
- name: Install dependencies
18-
uses: aminya/setup-cpp@v1
18+
uses: aminya/setup-cpp@17c11551771948abc5752bbf3183482567c7caf0 # v1.1.1
1919
with:
2020
clangformat: 17.0.1
2121
ninja: true

.github/workflows/libcxx-restart-preempted-jobs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
statuses: read
2727
checks: write
2828
actions: write
29-
runs-on: ubuntu-latest
29+
runs-on: ubuntu-24.04
3030
steps:
3131
- name: "Restart Job"
3232
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea #v7.0.1
@@ -161,7 +161,7 @@ jobs:
161161
statuses: read
162162
checks: write
163163
actions: write
164-
runs-on: ubuntu-latest
164+
runs-on: ubuntu-24.04
165165
steps:
166166
- name: "Restart Job (test)"
167167
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea #v7.0.1

0 commit comments

Comments
 (0)