-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Turn on using LLVM threadsafely #7409
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
Conversation
Ok -- I'm remote so I don't think I can get into the bots right now. @brson , can you? |
@catamorphism yes, looking into it now |
I'm being asked not to do this because it will slow down the queue. I instead scheduled a build on auto with clean-llvm set. |
Just retried, and it turned out that @brson, this may have to wait until @graydon comes back to manually clean all workspaces on all slaves for all builders. |
Hmm... upon further inspection, this may need some refinement. When running When using Upon further investigation I changed the Edit: I sent a patch to LLVM's mailing list: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130624/179287.html |
With newer profiles (after my LLVM change), there's still an enormous amount of time spent in contention on that rwlock, so it would probably be useful to have something like #6512 to control the level of concurrency in tests. Although this also brings up the question of why that mutex is a global mutex and not within the |
@catamorphism, @brson, I've updated this using graydon's new strategy for invalidating LLVM builds, so it should be good for another go. |
@catamorphism, this re-enables threadsafe rustpkg tests, @brson this will fail unless the bots have LLVM rebuilt, so this is a good indicator of whether that happened or not.
…te,flip1995 Added `cargo dev setup vscode-tasks` for simplicity This PR adds a setup command to `clippy dev` that installs tasks into the Clippy vscode workspace. These might be useful as they be used via shortcuts and are accessible over the GUI. The available tasks are: * `cargo check` (standard Linux shortcut `[ctrl] + [shift] + b`) * `cargo dev fmt` * `cargo uitest` (with a comment how to add the `TESTNAME` environment value) * `cargo test` * `cargo dev bless` --- changelog: none only internal changes again. cc rust-lang#5394 r? `@flip1995` This should be pretty much the same as the other `cargo dev setup` commands. Would you mind reviewing this? 🙃
@catamorphism, this re-enables threadsafe rustpkg tests, @brson this will fail unless the bots have LLVM rebuilt, so this is a good indicator of whether that happened or not.