Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
GH-136895: Update JIT builds to use LLVM 20#140329
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
Merged
Uh oh!
There was an error while loading. Please reload this page.
Merged
Changes from all commits
Commits
Show all changes
43 commits Select commit Hold shift + click to select a range
d145747 LLVM 20 bump
savannahostrowski d86b66e Merge main
savannahostrowski 9324b14 Add flags for testing
savannahostrowski f3bb6b9 Merge branch 'main' into llvm-20
savannahostrowski b6e7981 Merge main
savannahostrowski e867644 Fix windows
savannahostrowski 13e9f5b Merge main
savannahostrowski 84781b4 Merge branch 'main' into llvm-20
savannahostrowski 0034f14 Download binaries from GitHub releases
emmatyping cc98d30 Add hash checking
emmatyping 76842eb Apply Emma's commits for grabbing binaries from release artifacts
savannahostrowski a732cec Merge branch 'main' into llvm-20
savannahostrowski e8395ce Fix up LLVM via release artifacts
savannahostrowski d1e4363 Merge branch 'main' into llvm-20
savannahostrowski 01aed67 Remove model flags for x86_64 darwin causing GOT relocation issues
savannahostrowski 94f1a89 Clean up
savannahostrowski e6450de Only patch x86_64 GOT relocations when relaxation succeeds
savannahostrowski 1adf827 Revert "Only patch x86_64 GOT relocations when relaxation succeeds"
savannahostrowski b9bfacf mcmodel=large
savannahostrowski 57c44ee Add macro to handle debug
savannahostrowski 081ee86 fno-pic
savannahostrowski 0b773f9 remove fno-pic
savannahostrowski c78af6f remove hack
savannahostrowski d715cf2 Trampoline attempt
savannahostrowski 38e11b9 Touch up and add better comments
savannahostrowski 74eb9a4 Merge main
savannahostrowski ca95652 More clean up
savannahostrowski 47153a5 📜🤖 Added by blurb_it.
blurb-it[bot] 7b2df52 Redupe LLVM version reference from jit.yml
savannahostrowski 3a5af39 Merge branch 'llvm-20' of https://github.com/savannahostrowski/cpytho…
savannahostrowski 450dd09 Simplify fetching LLVM from bin-deps
savannahostrowski 5da3349 Remove duplicate 20 reference in jit.yml
savannahostrowski 620cd4f Fix flags
savannahostrowski d1a68ab Reduce DATA_ALIGN to 8 bytes
savannahostrowski f3d46bd Merge branch 'main' into llvm-20
savannahostrowski 4b35c2f Update Devcontainer readme
savannahostrowski ffcb68e Merge branch 'llvm-20' of https://github.com/savannahostrowski/cpytho…
savannahostrowski 0540ba3 Merge branch 'main' into llvm-20
savannahostrowski 618a4a6 Revert CI simplication and address comments for memcpy
savannahostrowski 2e9ba92 Address comments about get_externals and trampoline helper
savannahostrowski a21cb31 Merge branch 'main' into llvm-20
savannahostrowski 795f466 Restore get_externals
savannahostrowski b880f26 Fix spacing
savannahostrowski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions 1 Misc/NEWS.d/next/Core_and_Builtins/2025-10-19-10-32-28.gh-issue-136895.HfsEh0.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Update JIT compilation to use LLVM 20 at build time. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -82,7 +82,7 @@ if NOT "%IncludeLibffi%"=="false" set binaries=%binaries% libffi-3.4.4 | ||
| if NOT "%IncludeSSL%"=="false" set binaries=%binaries% openssl-bin-3.0.18 | ||
| if NOT "%IncludeTkinter%"=="false" set binaries=%binaries% tcltk-8.6.15.0 | ||
| if NOT "%IncludeSSLSrc%"=="false" set binaries=%binaries% nasm-2.11.06 | ||
| if NOT "%IncludeLLVM%"=="false" set binaries=%binaries% llvm-19.1.7.0 | ||
| if NOT "%IncludeLLVM%"=="false" set binaries=%binaries% llvm-20.1.8.0 | ||
| for %%b in (%binaries%) do ( | ||
| if exist "%EXTERNALS_DIR%\%%b" ( | ||
| @@ -92,7 +92,11 @@ for %%b in (%binaries%) do ( | ||
| git clone --depth 1 https://github.com/%ORG%/cpython-bin-deps --branch %%b "%EXTERNALS_DIR%\%%b" | ||
| ) else ( | ||
| echo.Fetching %%b... | ||
| %PYTHON% -E "%PCBUILD%\get_external.py" -b -O %ORG% -e "%EXTERNALS_DIR%" %%b | ||
| if "%%b"=="llvm-20.1.8.0" ( | ||
savannahostrowski marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading. Please reload this page. | ||
| %PYTHON% -E "%PCBUILD%\get_external.py" --release --organization %ORG% --externals-dir "%EXTERNALS_DIR%" %%b | ||
| ) else ( | ||
| %PYTHON% -E "%PCBUILD%\get_external.py" --binary --organization %ORG% --externals-dir "%EXTERNALS_DIR%" %%b | ||
| ) | ||
| ) | ||
| ) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.