This is an archive of the discontinued LLVM Phabricator instance.

[llvm,polly,clang] Stop setting config.enable_shared in most places
ClosedPublic

Authored by thakis on Nov 18 2022, 7:53 AM.

Details

Summary

Clang's lit.cfg.py reads this to add an "enable-shared" feature that
three of clang's lit tests use. Nothing else reads enable_shared, so
remove it from most lit.site.cfg.py.in files.

Diff Detail

Event Timeline

thakis created this revision.Nov 18 2022, 7:53 AM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: StephenFan. · View Herald Transcript
thakis requested review of this revision.Nov 18 2022, 7:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 18 2022, 7:53 AM

(I think this is a remnant from c7da993dee4f06cd, but removed in 1bf8d9107b77ab)

if config.enable_shared: is used in two places. Are they affected if the variable becomes absent?

if config.enable_shared: is used in two places. Are they affected if the variable becomes absent?

They're both in clang/test. clang/test/lit.site.cfg.py.in keeps setting config.enable_shared even after this change, so they shouldn't be affected.

MaskRay accepted this revision.Nov 19 2022, 2:10 PM

Thanks!

This revision is now accepted and ready to land.Nov 19 2022, 2:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 21 2022, 5:54 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript