)]}'
{
  "commit": "daabcf75b656341b2b65ed4e8ae2744005dc3fef",
  "tree": "1ff2adb3275710c2b8cf600529b129a4b93d7ba1",
  "parents": [
    "21b41db859ec41c2df99a8f3872215ead75981bf"
  ],
  "author": {
    "name": "bjacob",
    "email": "benoitjacob@google.com",
    "time": "Tue Jun 06 21:35:47 2023 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Jun 06 21:35:47 2023 -0400"
  },
  "message": "Unbreak the `byo_llvm.sh` build with `iree_bitcode_library`. (#13968)\n\nThe byo-llvm build is broken by the way `iree_bitcode_library` assumes\r\nit\u0027s dealing with our own bundled `clang` (#13957). This is an attempt\r\nto fix that. Specifically, this implements the idea in\r\nhttps://github.com/openxla/iree/issues/13957#issuecomment-1579175544 .\r\n\r\nSo `iree_bitcode_library` is changed to take `clang`, Clang builtin\r\nheaders, and `llvm-link` paths from externally defined variables.\r\n\r\n`iree_llvm.cmake` is updated to set these variables appropriately, in\r\nboth the bundled and the installed cases.\r\n\r\n`byo_llvm.sh` is updated to pass a `LLVM_INSTALL_DIR` to\r\n`iree_llvm.cmake`.\r\n\r\nFixes #13957 .",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6b175f050a3dcf36861695580bf369ba393f41cb",
      "old_mode": 33188,
      "old_path": "build_tools/cmake/iree_bitcode_library.cmake",
      "new_id": "593348ac99bc204f0b1e247043d06081d965d84a",
      "new_mode": 33188,
      "new_path": "build_tools/cmake/iree_bitcode_library.cmake"
    },
    {
      "type": "modify",
      "old_id": "d178b65290bbf78b6050d7bb79480072b10e3c23",
      "old_mode": 33188,
      "old_path": "build_tools/cmake/iree_llvm.cmake",
      "new_id": "2235228e50fa5341918b8e3d6e2b2760ba4307f2",
      "new_mode": 33188,
      "new_path": "build_tools/cmake/iree_llvm.cmake"
    },
    {
      "type": "modify",
      "old_id": "e83331126b9d837976c9520ca4ddc74187958c0e",
      "old_mode": 33261,
      "old_path": "build_tools/scripts/byo_llvm.sh",
      "new_id": "eef42f0a6a0cf554ae05f82c337a181e2666b40f",
      "new_mode": 33261,
      "new_path": "build_tools/scripts/byo_llvm.sh"
    }
  ]
}
