)]}'
{
  "commit": "8333524cd4241a7e3bf2f7d5b49cba4ae6fafcd7",
  "tree": "0e8831c6b35fb667f6f90d7d02fbe0b9aef9cdf4",
  "parents": [
    "eed527035927a27d9f73f15b1974b38a75bfd025"
  ],
  "author": {
    "name": "Kristina Bessonova",
    "email": "kbessonova@accesssoftek.com",
    "time": "Mon Jun 15 12:05:13 2020 +0200"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Mon Oct 26 19:43:32 2020 -0700"
  },
  "message": "[CMake] Fix runtimes build for host Windows (default target)\n\nWhen building runtimes, the compiler name (e.g. clang, clang-cl) is set based on\n`CMAKE_SYSTEM_NAME` passed to `llvm_ExternalProject_Add()` through `CMAKE_ARGS` argument.\nThis mechanism doesn\u0027t work well if the target is Windows host.\n`runtime_default_target()`/`builtin_default_target()` doesn\u0027t provide a way\nto specify `CMAKE_SYSTEM_NAME` and doesn\u0027t set it either.\n\nThis patch appends variables specified in `RUNTIMES_CMAKE_ARGS`/`BUILTINS_CMAKE_ARGS`\nto `CMAKE_ARGS` argument of `llvm_ExternalProject_Add()` in the case of called\nfrom `runtime_default_target()`/`builtin_default_target()` thus in particular\nit allows passing CMAKE_SYSTEM_NAME whenever it is required.\n\nReviewed By: phosek, compnerd, plotfi\n\nDifferential Revision: https://reviews.llvm.org/D81877\n\nGitOrigin-RevId: cd058033b9004a028bf454585814b4b5ee4d9602\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "824d17e7242a672e9bba0c9c78984f60d1a5372a",
      "old_mode": 33188,
      "old_path": "runtimes/CMakeLists.txt",
      "new_id": "ea73cec050eee6e114e4839e173f4a95255e9309",
      "new_mode": 33188,
      "new_path": "runtimes/CMakeLists.txt"
    }
  ]
}
