-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Revert "ci: Fix llvm detection on macOS CI" #10888
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
|
LGTM once CI passes. |
|
Looking at the CI log, I think this is installing an older version of LLVM that isn't fixed yet. To avoid that, we can run |
Codecov Report
@@ Coverage Diff @@
## master #10888 +/- ##
==========================================
- Coverage 68.40% 60.97% -7.43%
==========================================
Files 412 205 -207
Lines 87724 42862 -44862
Branches 19363 8815 -10548
==========================================
- Hits 60005 26137 -33868
+ Misses 23242 14682 -8560
+ Partials 4477 2043 -2434
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
|
Yep, Let me know which of these two alternatives you prefer:
|
|
I approved the workflows, but they haven't been run yet. |
|
The test failure seems related. |
|
The failure doesn't seem to be remotely related, it's way too long to see in CI and Github appears to refuse to actually let me download the logs (just spends a long time loading and getting nowhere) but "Iteration" is a string that only appears in dumper.c, part of a non-llvm related test. I do not know why rerunning the CI didn't clear the error if it is a flake, but I don't know what it could be if it's not a flake. Maybe rebasing would help? |
This is my impression too, but I haven't had the chance to take a close look at what is going on exactly. On the other hand, maybe this is what @nirbheek was referring to by "the linker just hangs" in #10879? I did manage to download the logs for a previous run (with similar results) a few days ago: logs.tar.gz I wasn't able to spot anything helpful, but maybe you'll see something. |
Fixed in Homebrew/homebrew-core#112154. This reverts commit c20fb65.
This makes sure we don't end up picking up an older version of LLVM that does not work.
6873b04 to
859ee6a
Compare
|
The test failure seems to be logging tens of thousands of lines of "Iteration ...", which points to This test case doesn't even look up an LLVM dependency, it builds one test file and checks that running it as a Meson test properly parses the TAP stream. The test file looks like this: #include <stdio.h>
int main(void)
{
for (int i = 0 ; i < 100000 ; i++)
fprintf(stderr, "# Iteration %d to stderr\n", i + 1);
printf("ok 1 - dumper to stderr\n");
for (int i = 0 ; i < 100000 ; i++)
fprintf(stdout, "# Iteration %d to stdout\n", i + 1);
printf("ok 2 - dumper to stdout\n1..2\n");
return 0;
}This test file was successfully built, and runs in Why this test fails, I'm not sure without looking at the log. But it's not failing to link |
|
From your uploaded logs: So all iterations complete but nevertheless the test files are killed by SIGTERM after a timeout of 30 seconds? Why. What. How. EDIT: Let's see if it magically passes after the rebase. |
|
Looks like rebasing worked? |
|
Nice! |
|
Great. Feel free to ping me in the future if Homebrew breaks your CI again. |
Fixed in Homebrew/homebrew-core#112154.
This reverts commit c20fb65.
CC @nirbheek