indygreg / python-build-standalone

Produce redistributable builds of Python
BSD 3-Clause "New" or "Revised" License
1.71k stars 107 forks source link

Upgrade to LLVM 18 #233

Open zanieb opened 3 months ago

zanieb commented 3 months ago

Looking into switching over to the official LLVM builds when upgrading to v18.

It doesn't look like they have binaries for the desired platforms on GitHub. I imagine we'll just install from the relevant system package managers or use download links from one of those?

e.g. in progress release on Homebrew:

indygreg commented 3 months ago

Yeah, it looks like the Linux x86-64 binaries published by LLVM only work on Ubuntu 18.04 or newer. Our Debian environment is too old and the official LLVM binaries aren't compatible.

I'm tempted to volunteer my services to the upstream LLVM project to get a better LLVM toolchain published during releases. But that's off topic.

Over the weekend I did manage to publish LLVM 18.1.1 to https://github.com/indygreg/toolchain-tools/releases/tag/toolchain-bootstrap%2F20240316. In theory those should just work.

zanieb commented 2 months ago

What would you like to be better about the published LLVM toolchain?

Coming back to this because the Homebrew pull request finally finished. But it sounds like we need our own binaries for Debian and we won't be able to transition to the official builds?