)]}'
{
  "commit": "fac791d4e1d879c19bfbbbfa89dc4186f56af34c",
  "tree": "a7201674b2995154d44b85598a589267a52d0fc4",
  "parents": [
    "a64975f9660e02f5f6688f8bcc55daf9eaa99fda"
  ],
  "author": {
    "name": "Benoit Jacob",
    "email": "jacob.benoit.1@gmail.com",
    "time": "Tue Mar 05 09:59:28 2024 -0500"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Mar 05 09:59:28 2024 -0500"
  },
  "message": "Export `LLVM_VERSION_MAJOR` CMake variable as a directory property (#83346)\n\nThis allows users who include `llvm-project` as a subrepository to\r\naccess the `LLVM_VERSION_MAJOR` variable on par with if they were\r\nrelying on an installed LLVM and `FindLLVM.cmake`. They just need to do\r\nsomething like:\r\n\r\n```\r\n  get_directory_property(LLVM_VERSION_MAJOR DIRECTORY \"third_party/llvm-project/llvm\" LLVM_VERSION_MAJOR)\r\n```\r\n\r\nContext: https://github.com/openxla/iree/pull/16606 -- like other\r\nprojects with similar needs that I found by some googling, our\r\nwork-around had been to rely on the CMake cached variable\r\n`CLANG_EXECUTABLE_VERSION`. Being cached, it over time inevitably ended\r\nup having a wrong value.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "651f17879fad243a9a1d1bf91e45224f7398bfbb",
      "old_mode": 33188,
      "old_path": "llvm/CMakeLists.txt",
      "new_id": "111c8cfa15d8281b9403d9b529246c2d06d31a99",
      "new_mode": 33188,
      "new_path": "llvm/CMakeLists.txt"
    }
  ]
}
