Uh oh!
There was an error while loading. Please reload this page.
Revert "tidy: validate LLVM component names in tests" - #125949
Conversation
RalfJung
commented
Jun 4, 2024
Ideally we'd document this somewhere. Is there a place that we document the meaning of all the ui-test annotations? For |
cc #125706 rustc-dev-guide has some non-exhaustive description of various UI test directives and annotations, but AFAIK we don't have an exhaustive list of descriptions. |
workingjubilee
commented
Jun 4, 2024
@Hoverbear what do you think? would you have wanted to wait until after your PR was r+'d? |
RalfJung
commented
Jun 4, 2024
via email
Which other PR are you referring to? |
Hoverbear
commented
Jun 4, 2024
@workingjubilee I do not believe this impacts me, go for it. :) |
erikdesjardins
commented
Jun 7, 2024
Opened rust-lang/rustc-dev-guide#1990 to add |
hmm. I realize this caused a bit of issues but I don't think it really doesn't pull its weight? I think what the troubles point to is a need for a more centralized way in the repo of describing "this is the list of components we want to build LLVM with, generally speaking". |
workingjubilee
commented
Jun 12, 2024
the troubles, after all, did also lead to us reenabling a test. |
RalfJung
commented
Jun 12, 2024
The test was disabled because of a confusing a error message in the "all components must be available" check, and because that check erroneously ran on a build of LLVM that does not have all components. Not sure if this is a good argument to keep the new tidy check around: the actually relevant point is that someone looked into whether there is a "csky" component. Having to maintain yet another list in tidy better come with sufficient benefits for this extra paperwork. I am not convinced that is the case here. |
workingjubilee
commented
Jun 12, 2024
That's the thing that I think is the actual problem: tidy shouldn't have even one single list that is just "the list of things we're feeding into rustc's build anyways". That's a file that can be shared between crates, so it should be somewhere it can be shared. |
workingjubilee
commented
Jun 12, 2024
...like, why does every single test that specifies a if we want to talk about duplication... |
Dylan-DPC
commented
Oct 28, 2024
@erikdesjardins@workingjubilee what's the status on this? thanks |
Could someone elaborate what the "root" thing the llvm component checks are trying to address? rust/src/bootstrap/src/core/build_steps/test.rs Lines 1943 to 1961 in df4ca44 bootstrap knows which (local) llvm components are available via rust/src/tools/compiletest/src/header.rs Lines 1473 to 1491 in df4ca44 But frankly, I don't quite understand what these things together are trying to check. In particular, what is Note that just using a |
See #125710: it makes a missing LLVM component into a test failure, rather than ignoring the test. |
jieyouxu
commented
Oct 28, 2024
Ah, thanks for clarifying, that makes sense. |
So I'm inclined to drop this tidy check, in favor of something like proper |
workingjubilee
commented
Nov 14, 2024
Yeah, that was basically some of what I was thinking of |
jieyouxu
commented
Nov 17, 2024
@bors r+ |
jieyouxu
commented
Nov 17, 2024
@bors ping |
jieyouxu
commented
Nov 17, 2024
@bors r+ |
bors
commented
Nov 17, 2024
bors
commented
Nov 17, 2024
bors
commented
Nov 17, 2024
☀️ Test successful - checks-actions |
rust-timer
commented
Nov 17, 2024
Finished benchmarking commit (23e7ecb): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesResults (primary 1.2%, secondary -2.8%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 787.86s -> 789.761s (0.24%) |
This reverts #125472.
This has already caused a bit of trouble, and I was mistaken about the original motivation--incorrect component names will be detected by a full CI run.
I no longer think it pulls its weight.
r? @workingjubilee