Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.14] GH-136895: Update JIT builds to use LLVM 21 (GH-140329)#146420

Open
mcepl wants to merge 3 commits intopython:3.14from
openSUSE-Python:3.14-llvm21-compat
Open

[3.14] GH-136895: Update JIT builds to use LLVM 21 (GH-140329)#146420
mcepl wants to merge 3 commits intopython:3.14from
openSUSE-Python:3.14-llvm21-compat

Conversation

@mcepl
Copy link
Contributor

@mceplmcepl commentedMar 25, 2026
edited by bedevere-appbot
Loading

Backport ofGH-140329 to 3.14, with the addition of:

  • JIT: harden LLVM 20 upgrade with defensive improvements
  • Enable x86_64 trampoline support on all x86_64 platforms, not just
    macOS. While currently only macOS emits X86_64_RELOC_BRANCH
    relocations, this ensures the trampoline infrastructure is ready if
    future LLVM changes produce out-of-range calls on other x86_64
    platforms.

  • Add error handling to extract_tarball() in get_external.py so that
    corrupted or incomplete downloads produce a clear error message
    instead of an opaque traceback.

  • Replace hardcoded LLVM version check in get_externals.bat with
    a prefix-based 'llvm-' match using findstr, so future LLVM version
    bumps only require changing the version string in one place.

Also, bump the JIT toolchain from LLVM 20 to LLVM 21 (21.1.8). Updated across
CI workflows, build scripts, documentation, and the externals tag.

- Enable x86_64 trampoline support on all x86_64 platforms, not just  macOS. While currently only macOS emits X86_64_RELOC_BRANCH  relocations, this ensures the trampoline infrastructure is ready if  future LLVM changes produce out-of-range calls on other x86_64  platforms.- Add error handling to extract_tarball() in get_external.py so that  corrupted or incomplete downloads produce a clear error message  instead of an opaque traceback.- Replace hardcoded LLVM version check in get_externals.bat with a  prefix-based 'llvm-' match using findstr, so future LLVM version  bumps only require changing the version string in one place.
Bump the JIT toolchain from LLVM 20 to LLVM 21 (21.1.8). Updatedacross CI workflows, build scripts, documentation, and the externalstag.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@brandtbucherbrandtbucherAwaiting requested review from brandtbucherbrandtbucher is a code owner

@savannahostrowskisavannahostrowskiAwaiting requested review from savannahostrowskisavannahostrowski is a code owner

@ezio-melottiezio-melottiAwaiting requested review from ezio-melottiezio-melotti is a code owner

@hugovkhugovkAwaiting requested review from hugovkhugovk is a code owner

@AA-TurnerAA-TurnerAwaiting requested review from AA-TurnerAA-Turner is a code owner

@webknjazwebknjazAwaiting requested review from webknjazwebknjaz is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@mcepl

[8]ページ先頭

©2009-2026 Movatter.jp