Skip to content

LLVM 20 update #168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 112 commits into
base: solana-rustc/20.1-2025-02-13
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
3ee6068
[SOL] Initial squash commit for new SBF LLVM back-end and related.
nvjle Oct 14, 2022
07cdfe9
[SOL] Add regression test for shouldSignExtendTypeInLibCall fix.
nvjle Oct 15, 2022
92b1fdb
[SOL] Add warn_drv_no_solana_with_bpf to warning-flags unit test.
nvjle Oct 21, 2022
4565c99
[SOL] Reworked the SBF textual assembly syntax to match the rbpf-styl…
nvjle Nov 15, 2022
df42172
[SOL] Make adjustments after upgrading to llvm 15.0
dmakarov Nov 18, 2022
6fe8c20
[SOL] Adjust tests
dmakarov Nov 23, 2022
f2d6251
[SOL] Adjust github workflow
dmakarov Nov 23, 2022
5a0ea6e
[SOL] Update SBF BTF with upstream changes
dmakarov Nov 28, 2022
2e75fc0
[SOL] Define __ELF__ macro for the SBF target
dmakarov Dec 12, 2022
1911a67
[SOL] Fix SBF target in LLDB
dmakarov Jan 30, 2023
b72f696
[SOL] Fix paths in solana lldb wrapper script
dmakarov Feb 7, 2023
673993a
[SOL] Revive BTF/CO-RE crud from bitrot.
nvjle Feb 15, 2023
a07b85d
[SOL] Fix CI build on macOS
dmakarov Feb 16, 2023
96215c1
[SOL] Generate EM_SBF binary only for sbfv2 cpu subtarget
dmakarov Feb 18, 2023
6f81e16
[SOL] Add BPF target to LLDB
dmakarov Feb 26, 2023
b8d3f03
[SOL] Add implicit addend for R_SBF_64_ABS32 relocations
dmakarov Feb 26, 2023
b02a7b0
[SOL] Handle BPF_64_64 relocations in .debug sections as ABS64
dmakarov Feb 27, 2023
da81c3d
[SOL] Make adjustments after upgrading to llvm 16.0
dmakarov Sep 28, 2023
5908320
[SOL] Temporarily disable opt-viewer tests for MacOS. (#71)
nvjle Dec 10, 2023
55e7a95
[SOL] Use ADD for subtracting stack pointer (#70)
LucasSte Dec 12, 2023
2f91d8d
[SOL] Remove now obsolete old syntax bits. (#72)
nvjle Dec 12, 2023
c8c9833
[SOL] Remove `neg` and change the semantics of `sub` (#73)
LucasSte Dec 16, 2023
30cb25a
[SOL] Remove LE byte swap and input buffers (#75)
LucasSte Dec 21, 2023
f4ea2e1
[SOL] Remove `lddw` instruction (#74)
LucasSte Dec 23, 2023
3565a7b
[SOL] Add feature flag for the removal of neg and the new semantics o…
LucasSte Jan 3, 2024
0bdaf25
[SOL] Add feature flag for disabling `lddw` (#77)
LucasSte Jan 4, 2024
ffe5f04
[SOL] Change encoding of `callx` instruction (#78)
LucasSte Jan 4, 2024
5bd6c7d
[SOL] Add tests for call (#79)
LucasSte Jan 9, 2024
9118f5f
[SOL] Remove `SBF_JMP32` instruction class (#80)
LucasSte Jan 15, 2024
c90f167
[SOL] Create PQR instruction class (#81)
LucasSte Jan 18, 2024
e7e6756
[SOL] Fix Predicate naming convention (#82)
LucasSte Jan 19, 2024
1da91bb
[SOL] Allocate call arguments on a fixed stack object (#84)
LucasSte Jan 30, 2024
20f3013
[SOL] Adjust compilation after upgrading to LLVM 17
LucasSte Jan 31, 2024
13c3266
[SOL] Bring upstream BPF changes to SBF
LucasSte Jan 31, 2024
46ac947
[SOL] Update references to solana-labs redirecting them to anza-xyz
dmakarov Feb 22, 2024
8313603
[SOL] Enable mod instruction (#87)
LucasSte Feb 23, 2024
5f7758f
[SOL] Workaround sccache failure (#93)
LucasSte Mar 4, 2024
5257749
[SOL] Remove cpu probe (#91)
LucasSte Mar 5, 2024
c332667
[SOL] Optimize call convention in SBFv2 (#94)
LucasSte Mar 27, 2024
d4a6de6
[SOL] Remove icmp BPF builtin (#95)
LucasSte Apr 9, 2024
3fd99f2
[SOL] Remove load builtins (#96)
LucasSte May 6, 2024
12bc46f
[SOL] Remove code adjustment (#98)
LucasSte Jun 20, 2024
61033a1
[SOL] Do not miss stack size errors (#99)
LucasSte Jun 20, 2024
822d095
[SOL] Correctly copy 16-byte aligned memory (#97)
LucasSte Jun 20, 2024
56f02cf
[SOL] Inform stack size in error message (#100)
LucasSte Jul 2, 2024
2717860
[SOL] Error when we overwrite data on the stack (#106)
LucasSte Jul 9, 2024
dbead10
[SOL] Error out when a function access an invalid offset (#107)
LucasSte Jul 10, 2024
868e64d
[SOL] Do not crash for stack errors (#108)
LucasSte Jul 17, 2024
057b39c
[SOL] Fix misposiotioned InGlue (#109)
LucasSte Jul 31, 2024
2199a3c
[SOL] Adjust backend after upgrade to LLVM 18
LucasSte Jun 30, 2024
55e3630
[SOL] Expand atomic load and store
LucasSte Jul 23, 2024
ba150ff
[SOL] Implement atomic swap
LucasSte Jul 24, 2024
f48fc87
[SOL] Register target
LucasSte Aug 9, 2024
af520b2
[SOL] Do not check relocs for SBF
LucasSte Aug 12, 2024
55176e5
[SOL] Allow LLD to process bitcode for SBF (#111)
LucasSte Nov 19, 2024
b70641b
[SOL] Allow instruction combine (#112)
LucasSte Nov 19, 2024
a07ea09
[SOL] Remove isSolana flag (#113)
LucasSte Nov 20, 2024
d09c2f0
[SOL] Implement store imm instructions (#115)
LucasSte Dec 2, 2024
2a30930
[SOL] Create explicit sign extension instruction (#114)
LucasSte Dec 3, 2024
f562f76
[SOL] Fix ALU32 instructions with explicit sign extension (#116)
LucasSte Dec 6, 2024
a2170ea
[SOL] Use R10 as the stack pointer (#117)
LucasSte Dec 11, 2024
01e340d
[SOL] Revamp peephole pass for explicit sign extension (#119)
LucasSte Dec 14, 2024
b5b90fb
[SOL] New encoding for memory instructions (#118)
LucasSte Dec 16, 2024
3b6b9fb
[SOL] Implement return instruction (#120)
LucasSte Dec 16, 2024
a2c0d84
[SOL] Implement syscall instruction (#121)
LucasSte Dec 19, 2024
dd98e4a
[SOL] Simplify code emission for syscalls (#122)
LucasSte Jan 3, 2025
d3ed901
[SOL] Split features into SBF versions (#124)
LucasSte Jan 6, 2025
49158d0
[SOL] Remove unused function (#125)
LucasSte Jan 15, 2025
142c0a6
[SOL] Expand mulh for 32-bit (#127)
LucasSte Jan 16, 2025
c0826a6
[SOL] Add return instructions for functions that end with unreachable…
LucasSte Jan 18, 2025
9e3a910
[SOL] Define page and base sizes for SBF (#129)
LucasSte Jan 21, 2025
34f08d1
[SOL] Correctly disassemble store imm (#131)
LucasSte Jan 23, 2025
440b6d3
[SOL] Remove `atomic_load_sub` from SBF (#132)
LucasSte Jan 23, 2025
4176755
[SOL] Use the value size for lowering arguments
LucasSte Jan 30, 2025
70017d4
[SOL] Fine tune memory operations threshold (#134)
LucasSte Feb 11, 2025
f8f6682
[SOL] Remove expand in order option (#135)
LucasSte Feb 12, 2025
318a295
[SOL] Create SBF sub architectures (#136)
LucasSte Feb 12, 2025
ad714ac
[SOL] Adjustments after LLVM 19 upgrade
LucasSte Feb 14, 2025
12a3c8c
[SOL] Fix LLVM 19 CI
LucasSte Mar 7, 2025
f2b6263
[SOL] Fix stack arguments store chain (#142)
LucasSte Apr 5, 2025
fcad39e
[SOL] Properly lower CTTZ and CTLZ in SBF (#143)
LucasSte Apr 9, 2025
92f6254
[SOL] Add missing SBF triples (#144)
LucasSte Apr 10, 2025
4a1c410
[SOL] LLDB for LLVM 19 (#145)
LucasSte Apr 11, 2025
7c7ec42
[SOL] Add v4 CPU type for SBF (#147)
LucasSte Apr 18, 2025
fac5222
[SOL] Create sbpfv0 and sbpfv4 targets (#148)
LucasSte Apr 20, 2025
57d0d02
[SOL] Add missing space in error message about stack usage (#149)
niooss-ledger May 5, 2025
f71f959
[SOL] Always add return for SBPFv3 (#150)
LucasSte May 9, 2025
3947707
[SOL] Remove AdjustOpt pass from SBF (#152)
LucasSte Jun 5, 2025
d85073e
[SOL] Run simplifyswitch pass for SBF (#153)
LucasSte Jun 9, 2025
83cbab2
[SOL] Allow branch folding to run in SBF (#154)
LucasSte Jun 18, 2025
20ded7c
[SOL] Do not add a return after a JA (#155)
LucasSte Jun 24, 2025
b1ab14b
[SOL] Do not add stack pointer adjustment at end (#156)
LucasSte Jun 24, 2025
39026ce
[SOL] Create `add64 r10, 0` for functions that do not need stack spac…
LucasSte Jun 24, 2025
1802759
[SOL] Fix debug relocation in SBF (#159)
LucasSte Jun 30, 2025
a51e95c
[SOL] Fine tune memcmp threshold (#160)
LucasSte Jul 1, 2025
694cdbc
[SOL] Emit no-op for anyext (#161)
LucasSte Jul 7, 2025
b381271
[SOL] Implement `isAddImmediate` for SBF (#162)
LucasSte Jul 7, 2025
6aaaa59
[SOL] Implement hints of stack stores and loads (#163)
LucasSte Jul 18, 2025
0ab789a
[SOL] Use `mov32` to load and zero extend immediate in V2+ (#166)
LucasSte Jul 27, 2025
45bf9ac
[SOL] Reduce cost of floating point expansion (#167)
LucasSte Jul 30, 2025
74ef093
[SOL] Adjustments after LLVM 20 update
LucasSte Aug 12, 2025
6ac3c31
Fix LLVM CI
LucasSte Aug 15, 2025
a54452a
Change CXX flags
LucasSte Aug 15, 2025
f9f17ad
Fix windows flags
LucasSte Aug 15, 2025
1be89aa
Remove windows
LucasSte Aug 15, 2025
1313d59
Remove extra projects from CI
LucasSte Aug 15, 2025
8571222
Limit scope
LucasSte Aug 15, 2025
aadc2c1
Change
LucasSte Aug 15, 2025
92f0f6f
Free up space in github runner
LucasSte Aug 18, 2025
89066ea
Configure clean job
LucasSte Aug 18, 2025
37a62a3
Adjust CI
LucasSte Aug 18, 2025
91e9a5b
Tweak more
LucasSte Aug 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .ci/monolithic-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ echo "--- cmake"
pip install -q -r "${MONOREPO_ROOT}"/mlir/python/requirements.txt
pip install -q -r "${MONOREPO_ROOT}"/.ci/requirements.txt

export CC=cl
export CXX=cl
export CC=clang
export CXX=clang++
export LD=link

# The CMAKE_*_LINKER_FLAGS to disable the manifest come from research
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ on:
jobs:
check-docs-build:
name: "Test documentation build"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.repository == 'llvm/llvm-project'
steps:
# Don't fetch before checking for file changes to force the file changes
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue-subscriber.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:

jobs:
auto-subscribe:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.repository == 'llvm/llvm-project'
steps:
- name: Checkout Automation Script
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/libclang-abi-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ concurrency:
jobs:
abi-dump-setup:
if: github.repository_owner == 'llvm'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
BASELINE_REF: ${{ steps.vars.outputs.BASELINE_REF }}
ABI_HEADERS: ${{ steps.vars.outputs.ABI_HEADERS }}
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
abi-dump:
if: github.repository_owner == 'llvm'
needs: abi-dump-setup
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
name:
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:

abi-compare:
if: github.repository_owner == 'llvm'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs:
- abi-dump-setup
- abi-dump
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/libcxx-check-generated-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
check_generated_files:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Fetch LLVM sources
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/llvm-bugs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
auto-subscribe:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.repository == 'llvm/llvm-project'
steps:
- uses: actions/setup-node@v4
Expand Down
19 changes: 14 additions & 5 deletions .github/workflows/llvm-project-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
required: false
os_list:
required: false
default: '["ubuntu-latest", "windows-2019", "macOS-13"]'
default: '["ubuntu-22.04", "windows-2022", "macOS-13"]'
python_version:
required: false
type: string
Expand Down Expand Up @@ -44,7 +44,7 @@ on:
# to install a python version linked against a newer version of glibc.
# TODO(boomanaiden154): Bump the Ubuntu version once the version in the
# container is bumped.
default: '["ubuntu-22.04", "windows-2019", "macOS-13"]'
default: '["ubuntu-22.04", "windows-2022", "macOS-13"]'

python_version:
required: false
Expand All @@ -70,7 +70,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ${{ fromJSON(inputs.os_list) }}
os:
- ubuntu-22.04
# Use windows-2019 due to:
# https://developercommunity.visualstudio.com/t/Prev-Issue---with-__assume-isnan-/1597317
- windows-2022
# We're using a specific version of macOS due to:
# https://github.com/actions/virtual-environments/issues/5900
- macOS-latest
steps:
- name: Setup Windows
if: startsWith(matrix.os, 'windows')
Expand All @@ -84,7 +91,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python_version }}
python-version: '3.11'
- name: Install Ninja
if: runner.os != 'Linux'
uses: llvm/actions/install-ninja@main
Expand All @@ -109,6 +116,7 @@ jobs:
key: ${{ matrix.os }}
variant: sccache
- name: Build and Test
if: "!startsWith(matrix.os, 'windows')"
env:
# Workaround for https://github.com/actions/virtual-environments/issues/5900.
# This should be a no-op for non-mac OSes
Expand Down Expand Up @@ -138,14 +146,15 @@ jobs:
-DLLVM_ENABLE_ASSERTIONS=ON \
-DLLDB_INCLUDE_TESTS=OFF \
-DLIBCLC_TARGETS_TO_BUILD="amdgcn--;amdgcn--amdhsa;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl" \
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="BPF;SBF" \
-DCMAKE_C_COMPILER_LAUNCHER=sccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache \
$extra_cmake_args \
${{ inputs.extra_cmake_args }}
ninja -C "$builddir" '${{ inputs.build_target }}'

- name: Build and Test libclc
if: "!startsWith(matrix.os, 'windows') && contains(inputs.projects, 'libclc')"
if: "!startsWith(matrix.os, 'windows') && !startsWith(matrix.os, 'macOS') && contains(inputs.projects, 'libclc')"
env:
LLVM_BUILDDIR: ${{ steps.build-llvm.outputs.llvm-builddir }}
run: |
Expand Down
22 changes: 12 additions & 10 deletions .github/workflows/llvm-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@ permissions:
on:
workflow_dispatch:
push:
branches:
- 'release/**'
ignore-forks: true
#branches:
# - 'release/**'
paths:
- 'llvm/**'
- '.github/workflows/llvm-tests.yml'
pull_request:
branches:
- 'release/**'
ignore-forks: true
#branches:
# - 'release/**'
paths:
- 'llvm/**'
- '.github/workflows/llvm-tests.yml'
Expand All @@ -26,8 +28,8 @@ concurrency:

jobs:
abi-dump-setup:
if: github.repository_owner == 'llvm'
runs-on: ubuntu-latest
#if: github.repository_owner == 'llvm'
runs-on: ubuntu-22.04
outputs:
BASELINE_REF: ${{ steps.vars.outputs.BASELINE_REF }}
ABI_HEADERS: ${{ steps.vars.outputs.ABI_HEADERS }}
Expand Down Expand Up @@ -69,9 +71,9 @@ jobs:
fi

abi-dump:
if: github.repository_owner == 'llvm'
#if: github.repository_owner == 'llvm'
needs: abi-dump-setup
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
name:
Expand Down Expand Up @@ -141,8 +143,8 @@ jobs:
path: llvm.symbols

abi-compare:
if: github.repository_owner == 'llvm'
runs-on: ubuntu-latest
#if: github.repository_owner == 'llvm'
runs-on: ubuntu-22.04
needs:
- abi-dump-setup
- abi-dump
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/new-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
automate-issues-labels:
permissions:
issues: write
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.repository == 'llvm/llvm-project'
steps:
- uses: llvm/actions/issue-labeler@main
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/new-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

jobs:
greeter:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
pull-requests: write
# Only comment on PRs that have been opened for the first time, by someone
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
automate-prs-labels:
# Greet first so that only the author gets that notification.
needs: greeter
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
# Ignore PRs with more than 10 commits. Pull requests with a lot of
# commits tend to be accidents usually when someone made a mistake while trying
# to rebase. We want to ignore these pull requests to avoid excessive
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-request-release-note.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
github.repository_owner == 'llvm' &&
startsWith(github.ref, 'refs/heads/release')

runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
# We need to pull the script from the main branch, so that we ensure
# we get the latest version of this script.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-subscriber.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:

jobs:
auto-subscribe:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.repository == 'llvm/llvm-project'
steps:
- name: Checkout Automation Script
Expand Down
64 changes: 26 additions & 38 deletions .github/workflows/premerge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,26 +25,30 @@ concurrency:

jobs:
premerge-checks-linux:
if: >-
false && github.repository_owner == 'llvm' &&
(github.event_name != 'pull_request' || github.event.action != 'closed')
runs-on: llvm-premerge-linux-runners
if: (github.event_name != 'pull_request' || github.event.action != 'closed')
runs-on: ubuntu-22.04
steps:
- name: Free up space in Github runner
uses: easimon/maximize-build-space@master
with:
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
root-reserve-mb: 2048
- name: Checkout LLVM
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup ccache
uses: hendrikmuhs/[email protected]
with:
max-size: "2000M"
max-size: "1500M"
- name: Print free space
run: |
echo "Free space:"
df -h
- name: Build and Test
# Mark the job as a success even if the step fails so that people do
# not get notified while the new premerge pipeline is in an
# experimental state.
# TODO(boomanaiden154): Remove this once the pipeline is stable and we
# are ready for people to start recieving notifications.
continue-on-error: true
run: |
git config --global --add safe.directory '*'

Expand All @@ -56,16 +60,10 @@ jobs:

. ./.ci/compute-projects.sh

all_projects="bolt clang clang-tools-extra compiler-rt cross-project-tests flang libc libclc lld lldb llvm mlir openmp polly pstl"
modified_projects="$(keep-modified-projects ${all_projects})"

linux_projects_to_test=$(exclude-linux $(compute-projects-to-test 0 ${modified_projects}))
linux_check_targets=$(check-targets ${linux_projects_to_test} | sort | uniq)
linux_projects=$(add-dependencies ${linux_projects_to_test} | sort | uniq)

linux_runtimes_to_test=$(compute-runtimes-to-test ${linux_projects_to_test})
linux_runtime_check_targets=$(check-targets ${linux_runtimes_to_test} | sort | uniq)
linux_runtimes=$(echo ${linux_runtimes_to_test} | sort | uniq)
linux_projects="clang lld lldb llvm"
linux_check_targets="check-clang check-lld check-lldb check-llvm"
linux_runtimes=""
linux_runtime_check_targets=""

if [[ "${linux_projects}" == "" ]]; then
echo "No projects to build"
Expand All @@ -77,16 +75,16 @@ jobs:
echo "Building runtimes: ${linux_runtimes}"
echo "Running runtimes checks targets: ${linux_runtime_check_targets}"

export CC=/opt/llvm/bin/clang
export CXX=/opt/llvm/bin/clang++
export CC=clang
export CXX=clang++

./.ci/monolithic-linux.sh "$(echo ${linux_projects} | tr ' ' ';')" "$(echo ${linux_check_targets})" "$(echo ${linux_runtimes} | tr ' ' ';')" "$(echo ${linux_runtime_check_targets})"

premerge-checks-windows:
if: >-
false && github.repository_owner == 'llvm' &&
(github.event_name != 'pull_request' || github.event.action != 'closed')
runs-on: llvm-premerge-windows-runners
false && github.repository_owner == 'llvm' &&
(github.event_name != 'pull_request' || github.event.action != 'closed')
runs-on: windows-2022
defaults:
run:
shell: bash
Expand Down Expand Up @@ -128,12 +126,6 @@ jobs:
echo "windows-projects=${windows_projects}" >> $GITHUB_OUTPUT
echo "windows-check-targets=${windows_check_targets}" >> $GITHUB_OUTPUT
- name: Build and Test
# Mark the job as a success even if the step fails so that people do
# not get notified while the new premerge pipeline is in an
# experimental state.
# TODO(boomanaiden154): Remove this once the pipeline is stable and we
# are ready for people to start recieving notifications.
continue-on-error: true
if: ${{ steps.vars.outputs.windows-projects != '' }}
shell: cmd
run: |
Expand All @@ -144,11 +136,7 @@ jobs:

permerge-check-macos:
runs-on: macos-14
if: >-
github.repository_owner == 'llvm' &&
(startswith(github.ref_name, 'release/') ||
startswith(github.base_ref, 'release/')) &&
(github.event_name != 'pull_request' || github.event.action != 'closed')
if: (github.event_name != 'pull_request' || github.event.action != 'closed')
steps:
- name: Checkout LLVM
uses: actions/checkout@v4
Expand All @@ -170,7 +158,7 @@ jobs:

. ./.ci/compute-projects.sh

all_projects="clang clang-tools-extra lld lldb llvm mlir"
all_projects="clang lld lldb llvm"
modified_projects="$(keep-modified-projects ${all_projects})"

# We have to disable the runtimes builds due to https://github.com/llvm/llvm-project/issues/90568
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ on:
jobs:
release-documentation:
name: Build and Upload Release Documentation
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
upload: ${{ inputs.upload && !contains(inputs.release-version, 'rc') }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-doxygen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ on:
jobs:
release-doxygen:
name: Build and Upload Release Doxygen
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: write
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-lit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
jobs:
release-lit:
name: Release Lit
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout LLVM
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
validate-tag:
name: Validate Tag
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.repository == 'llvm/llvm-project'
outputs:
release-version: ${{ steps.validate-tag.outputs.release-version }}
Expand Down
Loading
Loading