This is an archive of the discontinued LLVM Phabricator instance.

Guard visibility variables on AIX
ClosedPublic

Authored by Jake-Egan on Mar 23 2022, 7:50 AM.

Details

Summary

The addition of these visibility variables caused a test-suite build failure on AIX because visibility options aren't supported. This patch guards the variables on AIX.

Diff Detail

Repository
rT test-suite

Event Timeline

Jake-Egan created this revision.Mar 23 2022, 7:50 AM
Herald added a project: Restricted Project. · View Herald Transcript
Jake-Egan requested review of this revision.Mar 23 2022, 7:50 AM

Please can you submit this upstream first?

Jake-Egan edited the summary of this revision. (Show Details)Mar 23 2022, 7:53 AM
Jake-Egan added reviewers: daltenty, mtrofin.

Please can you submit this upstream first?

The added visibility options are breaking all the AIX bots:
https://lab.llvm.org/buildbot/#/builders/214

Either this needs to be fixed locally or we'll need to revert the benchmark update in D121343

Right. But that's not the question i asked, i believe?

Jake-Egan planned changes to this revision.Mar 23 2022, 8:20 AM

Right. But that's not the question i asked, i believe?

Sorry if I've misunderstood. We'll make sure this get posted to Google Benchmark, but do you want to wait for that to land upstream first? If so, shall we revert D121343 to unblock the bots?

daltenty accepted this revision.Mar 23 2022, 11:46 AM

LGTM as an interm fix. We'll revert and replace this once we have a fix in Google Benchmark.

Jake-Egan requested review of this revision.Mar 23 2022, 11:58 AM
This revision is now accepted and ready to land.Mar 23 2022, 11:58 AM
This revision was automatically updated to reflect the committed changes.

LGTM as an interm fix. We'll revert and replace this once we have a fix in Google Benchmark.

Apologies if I missed it, has the google/benchmarks PR been submitted? Thanks!

LGTM as an interm fix. We'll revert and replace this once we have a fix in Google Benchmark.

Apologies if I missed it, has the google/benchmarks PR been submitted? Thanks!

Hi, we are looking at fixing the visibility issue instead: https://discourse.llvm.org/t/rfc-adding-exported-visibility-style-to-the-ir-to-model-xcoff-exported-visibility/61853/4. Then we can revert this patch after.

LGTM as an interm fix. We'll revert and replace this once we have a fix in Google Benchmark.

Apologies if I missed it, has the google/benchmarks PR been submitted? Thanks!

Hi, we are looking at fixing the visibility issue instead: https://discourse.llvm.org/t/rfc-adding-exported-visibility-style-to-the-ir-to-model-xcoff-exported-visibility/61853/4. Then we can revert this patch after.

Ah - got it, thank you!