-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Revert "fix download-llvm logic for subtree sync branches #137593" #138878
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
@bors p=101 |
FTR, I'm posting a revert instead of a fix-forward because I know absolutely nothing about |
@bors r+ rollup=never |
Revert "fix download-llvm logic for subtree sync branches rust-lang#137593" Looks like unfortunately the `--diff-merges` flag is a `git show`-only command, not `git rev-list`. See https://git-scm.com/docs/git-rev-list#Documentation/git-rev-list.txt---first-parent which has `--first-parent`, versus https://git-scm.com/docs/git-show#Documentation/git-show.txt---diff-mergesltformatgt which has `--diff-merges=first-parent`. This reverts commit 95994f9, reversing changes made to 7290b04. This will unfortunately re-open rust-lang#101907 but that isn't fixed anyway since the git invocation is broken. r? `@onur-ozkan` (or bootstrap or infra or anyone really)
#138591 will finally remove all these git hacks :) |
Hm, very strange, I tried this locally with
|
Also, why did the PR even land if it completely breaks the invocation?!? |
I think that the perf. collector machine just has an old version of git. This code should be nuked soon, hopefully, so I don't think it's worth fixing too much. |
I'm not sure how it works for you locally, that is bizzare... https://git-scm.com/docs/git-rev-list has no results if I grep |
Can you just try running the command I posted above locally in your rustc checkout? With git 2.47.2 it seems to just work. 🤷 |
That is bizarre, it works for me too... |
On the
This is so with most of the manual pages. In fact, a few commands have almost-perfect supersets of another command's option list. |
Which means this revert may not be reverting the right PR... But then looking at the rollup I can't tell if another PR could break the perf |
@bors retry r- |
@bors r=dianqk |
Even if this isn't the right PR to revert, as long as the tree is closed due to a rollup, I can't see any harm in filing a revert of each PR, one by one, until we find the one that did it. |
The perf machine has git |
That git seems to be more than 6 years old... So yeah quite possible that it just lacks this flag.
|
☀️ Test successful - checks-actions |
Finished benchmarking commit (b95aac6): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.
Max RSS (memory usage)Results (primary -3.0%, secondary -2.6%)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.
CyclesResults (primary 3.5%, 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: missing data |
Reverts #137593.
It's likely because the perf machine has an old
git
version that doesn't have the--diff-merges
option or its forwarding ingit rev-list
yet...This reverts commit 95994f9, reversing changes made to 7290b04.
This will unfortunately re-open #101907.
cc @RalfJung @Mark-Simulacrum for FYI
r? @onur-ozkan (or bootstrap or infra or anyone really)