[all-commits] [llvm/llvm-project] abd657: Add missing CMake bool canonicalizations.

Stella Laurenzo via All-commits all-commits at lists.llvm.org
Wed Jul 8 20:18:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: abd6574b4542958bbde0d5b9568598f32417ef0a
      https://github.com/llvm/llvm-project/commit/abd6574b4542958bbde0d5b9568598f32417ef0a
  Author: Stella Laurenzo <stellaraccident at gmail.com>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

  Changed paths:
    M mlir/test/CMakeLists.txt

  Log Message:
  -----------
  Add missing CMake bool canonicalizations.

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.

Reviewers: stephenneuendorffer

Subscribers: mgorny, mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, Joonsoo, grosul1, Kayjukh, jurahul, msifontes

Tags: #mlir

Differential Revision: https://reviews.llvm.org/D83451




More information about the All-commits mailing list