-
-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
urls and sha256 attributes for llvm archive download
Current strategy for detecting OS name and matching it to an LLVM distribution archive has many corner cases. Moreover, people might have their own URLs where they host these archives. Having an explicit dict of URLs and sha256, keyed by OS name, version and arch, will help people get over these corner cases, and be able to try new LLVM releases without waiting for an update to this repository. Note that the keys here are different than the `toolchain_roots` attribute. While this method does have an extra setup step for each new OS type that the user's workspace needs to support, this approach is more flexible. If we notice that people are using this feature more than the auto inferred URLs, or that the llvm_release_names.py script is out of date, we may just retain this feature, and delete the other way of getting archives. Additionally, fixes #125. People with that use case can now use the `urls` attribute, or use the new convenience aliases.
- Loading branch information
Siddhartha Bagaria
committed
Mar 7, 2022
1 parent
dd9e6a6
commit c728048
Showing
10 changed files
with
301 additions
and
104 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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.