)]}'
{
  "commit": "b4c7de6ab9799bf3e8cb4a67d73d0a49e0c99a1d",
  "tree": "f93840d2c766b7f5b37edad4c2e556cef9ddf9d0",
  "parents": [
    "b08d152138e82f355c12bc5909b181adde6d4b0e"
  ],
  "author": {
    "name": "Krzysztof Drewniak",
    "email": "Krzysztof.Drewniak@amd.com",
    "time": "Fri Jan 17 12:53:30 2025 -0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Jan 17 14:53:30 2025 -0600"
  },
  "message": "[Python] Enable building Python bindings as editable wheels, document it (#19716)\n\nIn order to not need to constantly source PYTHONPATH, and to run the\r\nrink of potentially having it set wrong when dealing with multiple IREE\r\nbuilds, and to allow packages like the kernel bunchmarking suite to use\r\na local build without needing to edit requirements.txt, add the ability\r\nto build these packages as editableble wheels.\r\n\r\nThis method, newly added to the build documentation, tells CMake to use\r\nsymbolic links when \"installing\" the Python packages from the build\r\ndirectroy into a different build directory. In combination with telling\r\ncopytree to preserve symlinks, this creates Python packages that link\r\nback to the build or source directory when the `-e` flag is used on pip.\r\n\r\nThis means that an automated virtual environment switcher, like `pyenv`,\r\nwill pick up the correct Python bindings automatically and will direct\r\n`iree-compiler` and `iree-runtime` shims to the correct build.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "48cb5f828363a61540fbe964f1eff085dd706992",
      "old_mode": 33188,
      "old_path": "compiler/setup.py",
      "new_id": "eb8e418e2fd007d1d396ea9c11ca5db1c81e56cb",
      "new_mode": 33188,
      "new_path": "compiler/setup.py"
    },
    {
      "type": "modify",
      "old_id": "a773c97aed1e30a9541ddd0345a8ead394035124",
      "old_mode": 33188,
      "old_path": "docs/website/docs/building-from-source/getting-started.md",
      "new_id": "bb8190e6abbab29f017fc1f41ac3335da99f13d7",
      "new_mode": 33188,
      "new_path": "docs/website/docs/building-from-source/getting-started.md"
    },
    {
      "type": "modify",
      "old_id": "1967a4f7130ac3a52f0b85314be101b65c3f5ce8",
      "old_mode": 33188,
      "old_path": "runtime/CMakeLists.txt",
      "new_id": "b785e6a37cbcf9906c46c1e4711e47db0c36378c",
      "new_mode": 33188,
      "new_path": "runtime/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "e1a310148e462d30eb77f2fc88de735773d6537e",
      "old_mode": 33188,
      "old_path": "runtime/setup.py",
      "new_id": "551228f5573645ed8f726dac1342c3928c64ebc1",
      "new_mode": 33188,
      "new_path": "runtime/setup.py"
    }
  ]
}
