Sitelet https://github.com/astral-sh/python-build-standalone/pull/1274
Skip to content

Add standalone LLVM toolchain builds for Linux and macOS - #1274

Draft
jjhelmus wants to merge 5 commits into
mainfrom
jjh/standalone-toolchain
Draft

jjhelmus wants to merge 5 commits into
mainfrom
jjh/standalone-toolchain

Conversation

@jjhelmus

Copy link
Copy Markdown
Contributor

Add scripts to build and package LLVM for Linux x86_64, Linux aarch64, and Apple Silicon macOS.

Linux builds use Jessie/Stretch sysroots and bundled GCC runtimes for compatibility with older glibc.

A new Github action preforms these builds with validation and uploads the results.

This work is based heavily on https://github.com/indygreg/toolchain-tools specifically the toolchain-bootstrap directory.

Add scripts and tests that build LLVM from source using the system
compiler.
This was adapted from work in toolchain-tools by indygreg
https://github.com/indygreg/toolchain-tools
@jjhelmus

Copy link
Copy Markdown
Contributor Author

Some timing and size reference building these locally:

Build Cores Time Size
macOS aarch64 18 13m16s 158.9 MiB
Linux aarch64 18 20m42s 209.3 MiB
Linux x86_64 32 20m31s 217.3 MiB

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant