-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install CI llvm into the library directory #79074
Conversation
What do you mean by a more general fix? We only don't install LLVM if someone explicitly sets |
just double checking: @est31 do you have |
The LLVM from CI option automatically configures llvm-config to point at the CI built LLVM (downloaded for you). |
Ah ok, that makes sense. It sounds like setting both is being silently overridden right now, which maybe isn't a big deal. |
No, it should error out if config.toml specifies an llvm config but llvm-from-ci is set. |
Going to approve this for beta because the patch it fixes up (#78986) is also going to get a beta backport. Likely doesn't really matter too much since no one really develops on the beta branch but will be helpful for me when I'm doing backports. |
Despite inclusion in #79075, leaving this beta-accepted/beta-nominated because it should go into 1.49 as well. |
@bors r+ p=1 This fixes a bug that breaks download-ci-llvm, causing contributors to get strange build errors. |
📌 Commit 4feaa35 has been approved by |
…ulacrum [beta] next This backports: * Avoid installing external LLVM dylibs rust-lang#78986 * Install CI llvm into the library directory rust-lang#79074 * Revert "Revert "resolve: Avoid "self-confirming" import resolutions in one more case"" rust-lang#78784 * Bump Rustfmt and RLS rust-lang#78775 * Enforce no-move rule of ReentrantMutex using Pin and fix UB in stdio rust-lang#77801 For RLS/rustfmt compilation to succeed: * change the order of type arguments on ControlFlow rust-lang#76614 * Add ControlFlow::is_{break,continue} methods rust-lang#78200 * Replace run_compiler with RunCompiler builder pattern rust-lang#77649 As a dependency of rust-lang#77801: * Add Pin::static_ref, static_mut. rust-lang#77726
☀️ Test successful - checks-actions |
…crum Prepare beta 1.49.0 This PR sets everything up for beta 1.49.0, and backports the following PRs to it: * rust-lang#79107 - build-manifest: strip newline from rustc version * rust-lang#78986 - Avoid installing external LLVM dylibs * rust-lang#79074 - Install CI llvm into the library directory * rust-lang#78364 - Update RELEASES.md for 1.48.0 * rust-lang#77939 - Ensure that the source code display is working with DOS backline r? `@ghost` cc `@rust-lang/release`
Actually prepare beta 1.49.0 This PR sets everything up for beta 1.49.0, and backports the following PRs to it: * rust-lang#79107 - build-manifest: strip newline from rustc version * rust-lang#78986 - Avoid installing external LLVM dylibs * rust-lang#79074 - Install CI llvm into the library directory * rust-lang#78364 - Update RELEASES.md for 1.48.0 * rust-lang#77939 - Ensure that the source code display is working with DOS backline This is the same as rust-lang#79132, but actually targeting the right branch. r? `@ghost` cc `@rust-lang/release`
In other words, my concern in #78932 (comment) was perfectly justified by something we were already doing. For now just special case CI LLVM, but in the future we may want a more general fix.
Fixes #79071.
r? @alexcrichton