Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions files/rustc/llvm-mingw.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[[files]]
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.


[[files]]
name = "rustc/llvm-mingw-20251104-ucrt-x86_64.zip"
sha256 = "171b298f46fa4b5653dc7b01cc5e709caca645991be8e1b0724466c4a282a1ac"
source = "https://github.com/mstorsjo/llvm-mingw/releases/download/20251104/llvm-mingw-20251104-ucrt-x86_64.zip"
license = "Apache License v2.0 with LLVM Exceptions"