Skip to content

Conversation

@mati865
Copy link
Member

@mati865 mati865 commented Nov 9, 2025

name = "rustc/llvm-mingw-20251104-ucrt-aarch64.zip"
sha256 = "a71358c7302cfa55a7ec1b86c75ab3672d11c21399fc5d5fa039c0b335b090db"
source = "https://github.com/mstorsjo/llvm-mingw/releases/download/20251104/llvm-mingw-20251104-ucrt-aarch64.zip"
license = "Apache License v2.0 with LLVM Exceptions"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the license for the LLVM code, build script and other files included in the tarballs from llvm-mingw project use ISC license: https://github.com/mstorsjo/llvm-mingw/blob/master/LICENSE.txt

How should we handle that?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I would ask Wesley/David for the licensing part.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hopefully they won't mind summoning them here.
@wesleywiser @davidtwco can you help us here?

Thinking more about it, llvm-mingw consists of: prebuilt LLVM binaries + headers, prebuilt mingw-w64 + headers, prebuilt dependencies of LLVM like libffi, prebuilt binaries from llvm-mingw repo + shell scripts + Clang config files (they are located here: https://github.com/mstorsjo/llvm-mingw/tree/466fbcb68f024758c20cbea9544a44d1e5194bdc/wrappers), and apparently now it also includes prebuilt Python.

llvm-mingw's LICENSE.txt states:

The final built toolchain is covered by the licenses of the individual
external projects, primarily LLVM's Apache 2 license with LLVM exceptions.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the license of the artifact is Apache 2 w/ LLVM exceptions then I expect this would be fine.

@marcoieni marcoieni added this pull request to the merge queue Nov 11, 2025
Merged via the queue into rust-lang:main with commit e47ba53 Nov 11, 2025
3 checks passed
@mati865
Copy link
Member Author

mati865 commented Nov 11, 2025

Thanks!

@mati865 mati865 deleted the llvm-mingw-toolchains branch November 11, 2025 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants