This is an archive of the discontinued LLVM Phabricator instance.

Add missing CMake bool canonicalizations.
ClosedPublic

Authored by stellaraccident on Jul 8 2020, 8:01 PM.

Details

Summary
  • This allows these flags to be passed on the command line with normal CMake bool-interpreted values like ON/OFF instead of requiring 0/1.
  • As-is, if passing ON/OFF, these will cause a parse error in lit.site.cfg.py because Python tries to interpret the string literally.

Diff Detail

Event Timeline

stellaraccident created this revision.Jul 8 2020, 8:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 8 2020, 8:01 PM
mehdi_amini accepted this revision.Jul 8 2020, 8:10 PM
This revision is now accepted and ready to land.Jul 8 2020, 8:10 PM
This revision was automatically updated to reflect the committed changes.