)]}'
{
  "commit": "0922d6314c592ebd71a4723d49493567571d55bf",
  "tree": "06806d81daf25bf6ef5d9e7db91c8bc85b035cd9",
  "parents": [
    "ed4d7da767ae2dcaa5904d483a04661b79a48fa6"
  ],
  "author": {
    "name": "Stefan Schuermans",
    "email": "schuermans@roofline.ai",
    "time": "Tue Nov 10 16:27:08 2026 +0100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Nov 10 16:27:08 2026 +0100"
  },
  "message": "[HAL][bazel] Support external HAL drivers in Bazel (#25238)\n\nBazel builds can now include HAL drivers from outside IREE.\nThis matches IREE_EXTERNAL_HAL_DRIVERS in CMake.\n\nThe feature is opt-in.\nAny module that depends on IREE can add external_hal_driver tags\nto iree_extension in its MODULE.bazel.\nEach tag names a registration target and a register function.\nAn optional enabled_by config_setting turns a driver on only for some\nbuilds.\n\niree_extension collects the tags of all modules.\nIt generates the @iree_external_hal_drivers repository with the driver\nlist.\nWithout tags, the list is empty and the build is unchanged.\n\nA new rule generates init_external.c from init_external.c.in.\nThe generated file calls each enabled register function.\nThe drivers library links the enabled targets and compiles\ninit_external.c.\nIt also sets IREE_HAVE_HAL_EXTERNAL_DRIVERS, so init.c calls the\ngenerated code.\n\nThe new EXTERNAL_DRIVERS.md explains how to opt in.\n\nCo-Authored-By: Tobias Fuchs \u003c9053039+devtbi@users.noreply.github.com\u003e\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\nSigned-off-by: Stefan Schuermans \u003cschuermans@roofline.ai\u003e\n\nSigned-off-by: Stefan Schuermans \u003cschuermans@roofline.ai\u003e\nCo-authored-by: Tobias Fuchs \u003c9053039+devtbi@users.noreply.github.com\u003e\nCo-authored-by: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "029a7abe51bd16a314d8f018f6779bcb33c9139d",
      "old_mode": 33188,
      "old_path": "MODULE.bazel",
      "new_id": "fd84fe39734746be1b4ca8d27ed28507db44b612",
      "new_mode": 33188,
      "new_path": "MODULE.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "06c7da21c9129d758c16ad78e3f3d61bbf821fd7",
      "new_mode": 33188,
      "new_path": "build_tools/bazel/EXTERNAL_DRIVERS.md"
    },
    {
      "type": "modify",
      "old_id": "4b0a2cd2066850b28e8c15c8b08469514ccdc0ae",
      "old_mode": 33188,
      "old_path": "build_tools/bazel/extensions.bzl",
      "new_id": "1e1f403f01d949b8d128db968d827cf91cb0a6b3",
      "new_mode": 33188,
      "new_path": "build_tools/bazel/extensions.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "201225309fdc2586b657db8f4a5bb8059d90e241",
      "new_mode": 33188,
      "new_path": "build_tools/bazel/external_hal_drivers.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a673323eff3c88ab2cacbee6c9c7bbfad5569d77",
      "new_mode": 33188,
      "new_path": "build_tools/bazel/hal_driver_init_gen.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "422cd9c4cebe9fdaef975b0729a1c7297d400313",
      "new_mode": 33188,
      "new_path": "build_tools/bazel/load_external_hal_drivers_utils.bzl"
    },
    {
      "type": "modify",
      "old_id": "bd49dad3a272dbb6be83bd3f9f4db9d36206d607",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/BUILD.bazel",
      "new_id": "3746a90dbc249acc2b4510bd6bfce6ddbaf794ee",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/BUILD.bazel"
    }
  ]
}
