This is an archive of the discontinued LLVM Phabricator instance.

Fix build error in CI.
ClosedPublic

Authored by zahiraam on Sep 8 2023, 9:02 AM.

Diff Detail

Event Timeline

zahiraam created this revision.Sep 8 2023, 9:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 8 2023, 9:02 AM
zahiraam requested review of this revision.Sep 8 2023, 9:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 8 2023, 9:02 AM
zahiraam updated this revision to Diff 556297.Sep 8 2023, 1:03 PM
zahiraam added a reviewer: thakis.
smeenai added a subscriber: smeenai.Sep 8 2023, 2:23 PM

Generally it's preferred to either push bot failure fixes directly or revert the original commit (also without review), to get bots unblocked as soon as possible :)

From what I can see, the test failure is because dso_local isn't emitted on Mac. That seems incidental to the point of your test, so using a regex match instead might be preferable.

zahiraam updated this revision to Diff 556301.Sep 8 2023, 2:28 PM

Generally it's preferred to either push bot failure fixes directly or revert the original commit (also without review), to get bots unblocked as soon as possible :)

From what I can see, the test failure is because dso_local isn't emitted on Mac. That seems incidental to the point of your test, so using a regex match instead might be preferable.

Thanks. I am going to continue with a review since I started it. It should work now. Thanks for the suggestion (I always forget about RE and MAC :-).

smeenai accepted this revision.Sep 8 2023, 2:33 PM

The -triple x86_64-unknown-unknown shouldn't be required after the regex change, but I'm fine either way. I'd recommend pushing this to fix the bots, and Aaron/Nico can do a post-commit review if they have any other comments.

This revision is now accepted and ready to land.Sep 8 2023, 2:33 PM

The -triple x86_64-unknown-unknown shouldn't be required after the regex change, but I'm fine either way. I'd recommend pushing this to fix the bots, and Aaron/Nico can do a post-commit review if they have any other comments.

Should I push it right away or wait until pre-merge testing terminates?

I don't think pre-merge testing covers Mac, only Linux and Windows (which is presumably how the original breakage got in). If the test passes for you locally I'd just push it and monitor the bots afterwards. (That isn't general advice, but in this specific case, since we already have broken bots, I think it's worth prioritizing a potential fix for them over waiting for previously known-good configurations.)

I don't think pre-merge testing covers Mac, only Linux and Windows (which is presumably how the original breakage got in). If the test passes for you locally I'd just push it and monitor the bots afterwards. (That isn't general advice, but in this specific case, since we already have broken bots, I think it's worth prioritizing a potential fix for them over waiting for previously known-good configurations.)

Done. Thanks.

This revision was landed with ongoing or failed builds.Sep 8 2023, 2:58 PM
Closed by commit rGd4ff8f815c21: Fix buildbot failure (authored by zahiraam). · Explain Why
This revision was automatically updated to reflect the committed changes.
This comment was removed by uabelho.