)]}'
{
  "commit": "2612b1ad73cd23154c27a959fb4698fdd8a08ab5",
  "tree": "f1dc3cd7e360fbcf1edb466607c934284ea5b6bf",
  "parents": [
    "5d9f7bf970bda5b4bd4de3a31f0ae63b2a8052ae"
  ],
  "author": {
    "name": "Petr Hosek",
    "email": "phosek@chromium.org",
    "time": "Mon Feb 04 20:02:26 2019 +0000"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Fri Aug 28 00:58:41 2020 -0700"
  },
  "message": "[CMake] Support CMake variables for setting target, sysroot and toolchain\n\nCMake has a standard way of setting target triple, sysroot and external\ntoolchain through CMAKE_\u003cLANG\u003e_COMPILER_TARGET, CMAKE_SYSROOT and\nCMAKE_\u003cLANG\u003e_COMPILER_EXTERNAL_TOOLCHAIN. These are turned into\ncorresponding --target\u003d, --sysroot\u003d and --gcc-toolchain\u003d variables add\nincluded appended to CMAKE_\u003cLANG\u003e_FLAGS.\n\nlibunwind, libc++abi, libc++ provides their own mechanism through\n\u003cPROJECT\u003e_TARGET_TRIPLE, \u003cPROJECT\u003e_SYSROOT and \u003cPROJECT\u003e_GCC_TOOLCHAIN\nvariables. These are also passed to lit via lit.site.cfg, and lit config\nuses these to set the corresponding compiler flags when building tessts.\n\nThis means that there are two different ways of setting target, sysroot\nand toolchain, but only one is properly supported in lit. This change\nextends CMake build for libunwind, libc++abi and libc++ to also support\nthe CMake variables in addition to project specific ones in lit.\n\nDifferential Revision: https://reviews.llvm.org/D57670\n\nllvm-svn: 353084\nGitOrigin-RevId: 6fd4e7fe0258ff71fe759535236883ea9060587c\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "664e1fed034e8027076d0febe95cf0bc6eb4a05a",
      "old_mode": 33188,
      "old_path": "CMakeLists.txt",
      "new_id": "b5b29e7498f9cd5b9ae98e7ea6653ad689a029a3",
      "new_mode": 33188,
      "new_path": "CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "75cb76e2557ff1b11327d0ee01a014b004a26f6a",
      "old_mode": 33188,
      "old_path": "test/lit.site.cfg.in",
      "new_id": "d8e58be1bb2797426d52775a1b74ec148be78a30",
      "new_mode": 33188,
      "new_path": "test/lit.site.cfg.in"
    }
  ]
}
