-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Give tidy the good news about C-SKY #125702
Conversation
Failed to set assignee to
|
:ferrisCluelesser: r? bootstrap |
Can the test be re-enabled? rust/tests/ui/abi/compatibility.rs Lines 61 to 65 in 7516912
|
Can you also enable csky in tests/ui/abi/compatibility.rs so we can tell whether this actually works? In the past there was some trouble with this component, but the details are lost to github deleting all our logfiles... |
@bors r- |
I believe the problem with CSKY was that when we supported sufficiently early-enough versions of LLVM, those ones didn't have the actual component in them. |
Since the change to LLVM 18 and the dropping of an old LLVM version have happened since last November, the logfiles would have been misinforming you anyways. |
It passes locally, and I was able to make the test emit a compile error for specifically the csky revision, so it is in fact building it. |
Yeah the test already passed locally back then (and I did verify that it was being run). But then somehow on CI the test failed.
That doesn't explain it though -- the test had the needs-component line, so if the LLVM on CI does not have csky it should have skipped the test. Maybe our implementation of needs-component is buggy... |
do you really think people would really do that? just go out on the internet and write bugs in their test code? :^) |
LLVM component shenanigans and unclear CI requirements could mess a rollup, @bors r=Kobzol,lqd rollup=iffy |
There was some weird csky behavior in #125141. The
in |
We'll see what the PR builder says about this one. We could also take a look at CI's record of tests results with their ignore reason, if we have it until that far back, and check for csky there. |
… r=Kobzol,lqd Give tidy the good news about C-SKY It seems this was overlooked in rust-lang#125472 because we don't test C-SKY much yet. Fixes rust-lang#125697 r? `@erikdesjardins`
heh
|
We should unset COMPILETEST_NEEDS_ALL_LLVM_COMPONENTS for the |
Oh, so on CI we actually ignore the |
We don't run the test, but we check that all components are present in CI test runs. And yes, the test will get run on builders using our own LLVM. But we don't control which targets Ubuntu's LLVM includes, so we shouldn't use the option there. |
If the component is present, then we also run the test, no? #125710 should help clarify the error we are seeing here.
Ah so there are still other runners where COMPILETEST_NEEDS_ALL_LLVM_COMPONENTS is set? |
Yes-ish. I believe CI would fail, but having it in tidy is probably still a nice convenience to catch the issue during local development and PR CI already.
See Lines 172 to 176 in 5870f1c
IS_NOT_LATEST_LLVM which is only set for the llvm-17 job. It's enabled everywhere else.
|
☔ The latest upstream changes (presumably #125695) made this pull request unmergeable. Please resolve the merge conflicts. |
I am simply going to move the logic under |
81bc4d0
to
60c30f5
Compare
We want to only demand that we check for all components we expect if we actually built the components we expect, which means we built the LLVM. Otherwise, it isn't worth checking.
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (23ea77b): 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)Results (primary -0.5%)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.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 666.699s -> 669.162s (0.37%) |
Hmm, I didn't realize that this was already caught in (non-PR) CI. I'm inclined to revert the original PR. It's a rare enough issue that it just needs to be caught somehow, and it shouldn't be a huge issue that it takes a bors run to do so. |
It seems this was overlooked in #125472 because we don't test C-SKY much yet.
Fixes #125697
r? @erikdesjardins