)]}'
{
  "commit": "d1620f040ebc57ab19933df24bca54fa4dae3163",
  "tree": "fc7c71db1be73a678937ba63e83eaf8b3d99682a",
  "parents": [
    "97982ecba8c00e775a0198b91cd7151e992fbe59"
  ],
  "author": {
    "name": "Scott Todd",
    "email": "scotttodd@google.com",
    "time": "Wed Dec 22 14:55:38 2021 -0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Dec 22 14:55:38 2021 -0800"
  },
  "message": "Promote HAL driver and target backend CMake variables to options. (#7936)\n\nFollowing up on https://github.com/google/iree/pull/7905#discussion_r771022062, this uses regular options for these settings, which are easier to search for and set. The CMakeLists from Tint was used as a reference: https://dawn.googlesource.com/tint/+/refs/heads/main/CMakeLists.txt. The main focus is to use explicit names instead of dynamic name construction, but using [option](https://cmake.org/cmake/help/latest/command/option.html) is a nice bonus.\r\n\r\nNew `IREE_HAL_DRIVER_DEFAULTS` and `IREE_TARGET_BACKEND_DEFAULTS` options can be used to set only a specific subset (set to `OFF` by default, then enable just the features you want).",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2f986cb230b1e85bcd18906329f7180630595e2f",
      "old_mode": 33188,
      "old_path": "CMakeLists.txt",
      "new_id": "13ecbb0f3ba4cf1e0438875bb15063730f877e4f",
      "new_mode": 33188,
      "new_path": "CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "325f6f159bae7c3f9ce22ea894799f33f71bed13",
      "old_mode": 33188,
      "old_path": "bindings/tflite/java/build.gradle",
      "new_id": "09638f4037ca7a43746125f6c1d9960276424c7c",
      "new_mode": 33188,
      "new_path": "bindings/tflite/java/build.gradle"
    },
    {
      "type": "modify",
      "old_id": "614673d5b99201a9af00ef3b4652e70eb5678abc",
      "old_mode": 33261,
      "old_path": "build_tools/cmake/build_runtime_emscripten.sh",
      "new_id": "a0f8db8c54b874b667b62f5b7b1c1a4073a3fde4",
      "new_mode": 33261,
      "new_path": "build_tools/cmake/build_runtime_emscripten.sh"
    },
    {
      "type": "modify",
      "old_id": "9b3a79ee12a655c17b1026bb9da764eea06cfada",
      "old_mode": 33188,
      "old_path": "build_tools/cmake/iree_check_test.cmake",
      "new_id": "4a75a94d717ea5b069694402ad6b3efb29a6891b",
      "new_mode": 33188,
      "new_path": "build_tools/cmake/iree_check_test.cmake"
    },
    {
      "type": "modify",
      "old_id": "22cdf685f6aeb10e4ec274a27245e9c3bc59803c",
      "old_mode": 33188,
      "old_path": "build_tools/cmake/iree_macros.cmake",
      "new_id": "143fc8c5b73c96f584eaed200f41f314f469f061",
      "new_mode": 33188,
      "new_path": "build_tools/cmake/iree_macros.cmake"
    },
    {
      "type": "modify",
      "old_id": "b214a35c79ec7541da732abbcf7c90ff8012bc55",
      "old_mode": 33188,
      "old_path": "build_tools/cmake/iree_trace_runner_test.cmake",
      "new_id": "13e97fcaa553031a4cb416b838bb281c6743387f",
      "new_mode": 33188,
      "new_path": "build_tools/cmake/iree_trace_runner_test.cmake"
    },
    {
      "type": "modify",
      "old_id": "4394e76c7a4b33b8b8497b98e64c1baeecf85071",
      "old_mode": 33188,
      "old_path": "build_tools/cmake/riscv.toolchain.cmake",
      "new_id": "9e6a5fa005597490228d4b58cfec64b6bfdeae50",
      "new_mode": 33188,
      "new_path": "build_tools/cmake/riscv.toolchain.cmake"
    },
    {
      "type": "modify",
      "old_id": "2212600b9248f61f9d80974a5e140b39cad45f55",
      "old_mode": 33188,
      "old_path": "docs/developers/get_started/cmake_options_and_variables.md",
      "new_id": "6a340bb7300b9cf5099d86fbe4e5bb16f6b02be6",
      "new_mode": 33188,
      "new_path": "docs/developers/get_started/cmake_options_and_variables.md"
    },
    {
      "type": "modify",
      "old_id": "945a9835369737bc4bb0874efc56bcf6b3bbe297",
      "old_mode": 33188,
      "old_path": "docs/website/docs/deployment-configurations/bare-metal.md",
      "new_id": "227797480f2b4098cc12e681ec8e79265a421045",
      "new_mode": 33188,
      "new_path": "docs/website/docs/deployment-configurations/bare-metal.md"
    },
    {
      "type": "modify",
      "old_id": "f633ecc24810418c4dbcb6ce50c500c7d4535cf2",
      "old_mode": 33188,
      "old_path": "docs/website/docs/deployment-configurations/cpu-dylib.md",
      "new_id": "e5a5ef4883e2f05bb659a400c5f78b34ea0ec95a",
      "new_mode": 33188,
      "new_path": "docs/website/docs/deployment-configurations/cpu-dylib.md"
    },
    {
      "type": "modify",
      "old_id": "3523fb9e31093eb2ce90f950010acd99317bd291",
      "old_mode": 33188,
      "old_path": "docs/website/docs/deployment-configurations/gpu-vulkan.md",
      "new_id": "ab7178ee73fdda5ec99348f618465a91a0710fd4",
      "new_mode": 33188,
      "new_path": "docs/website/docs/deployment-configurations/gpu-vulkan.md"
    },
    {
      "type": "modify",
      "old_id": "d85a6526953633259a47fb42669ed78e46109667",
      "old_mode": 33188,
      "old_path": "iree/compiler/Dialect/HAL/Target/LLVM/BUILD",
      "new_id": "045cea0a7f20030eeb8c8f04e90b6d7377225927",
      "new_mode": 33188,
      "new_path": "iree/compiler/Dialect/HAL/Target/LLVM/BUILD"
    },
    {
      "type": "modify",
      "old_id": "f75ba2db794b7070cb29cb49fc9a33a9d17b2b2d",
      "old_mode": 33188,
      "old_path": "iree/compiler/Dialect/HAL/Target/LLVM/CMakeLists.txt",
      "new_id": "6455ef5a234ee77634253d3b52d55e51c7996236",
      "new_mode": 33188,
      "new_path": "iree/compiler/Dialect/HAL/Target/LLVM/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "6fd21ab87791bf4e009ba8a08a15440c4f2a4931",
      "old_mode": 33188,
      "old_path": "iree/compiler/Dialect/HAL/Target/MetalSPIRV/BUILD",
      "new_id": "f0a6c812cbc16c82f57b64fc54ca35aaf84ec49f",
      "new_mode": 33188,
      "new_path": "iree/compiler/Dialect/HAL/Target/MetalSPIRV/BUILD"
    },
    {
      "type": "modify",
      "old_id": "d01431a31b304524dad3f8493c1f8af58f430e0f",
      "old_mode": 33188,
      "old_path": "iree/compiler/Dialect/HAL/Target/MetalSPIRV/CMakeLists.txt",
      "new_id": "36e57f1e4cb44270e8c212161aa30667e481dc39",
      "new_mode": 33188,
      "new_path": "iree/compiler/Dialect/HAL/Target/MetalSPIRV/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "9b430e1731ca2aa73e79e3505675e07b42680498",
      "old_mode": 33188,
      "old_path": "iree/compiler/Dialect/HAL/Target/VulkanSPIRV/BUILD",
      "new_id": "813426b1088a5d3482f3b34bb21860d83b4978da",
      "new_mode": 33188,
      "new_path": "iree/compiler/Dialect/HAL/Target/VulkanSPIRV/BUILD"
    },
    {
      "type": "modify",
      "old_id": "0a6eadb6bbd3a71dfea3c4cb24d287bd1b0378c9",
      "old_mode": 33188,
      "old_path": "iree/compiler/Dialect/HAL/Target/VulkanSPIRV/CMakeLists.txt",
      "new_id": "7d32a9d558f1ab3c6d5c9e3c20cb147abb7bc7cd",
      "new_mode": 33188,
      "new_path": "iree/compiler/Dialect/HAL/Target/VulkanSPIRV/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "0118d67c2333041690c030f38728a8fd95775881",
      "old_mode": 33188,
      "old_path": "iree/compiler/Dialect/Vulkan/Utils/test/BUILD",
      "new_id": "4328124b750e25ef1280f376587fad1cf3da8860",
      "new_mode": 33188,
      "new_path": "iree/compiler/Dialect/Vulkan/Utils/test/BUILD"
    },
    {
      "type": "modify",
      "old_id": "52386a414e2d5da89786b830c844a08c8c2dbed4",
      "old_mode": 33188,
      "old_path": "iree/compiler/Dialect/Vulkan/Utils/test/CMakeLists.txt",
      "new_id": "84d52d924b43d12589875df288e7e2176dd49f0e",
      "new_mode": 33188,
      "new_path": "iree/compiler/Dialect/Vulkan/Utils/test/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "780e97efebc366c8172587eddaa52f35da53f0d4",
      "old_mode": 33188,
      "old_path": "iree/runtime/instance.h",
      "new_id": "6bf54231e570f5593e7da7b66e5b1fc0e8830a5a",
      "new_mode": 33188,
      "new_path": "iree/runtime/instance.h"
    },
    {
      "type": "modify",
      "old_id": "43d61257192a4477f4f77a827b89119afab0d50a",
      "old_mode": 33188,
      "old_path": "iree/samples/simple_embedding/BUILD",
      "new_id": "27912081f2282fd0d4497a1fc964d4438b0df646",
      "new_mode": 33188,
      "new_path": "iree/samples/simple_embedding/BUILD"
    },
    {
      "type": "modify",
      "old_id": "dedb908ff0be6ade1c5f78e06a1bd1ff857076a8",
      "old_mode": 33188,
      "old_path": "iree/samples/simple_embedding/CMakeLists.txt",
      "new_id": "555052b09ababb5221f60979492cc02a0691149f",
      "new_mode": 33188,
      "new_path": "iree/samples/simple_embedding/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "1b57d24c0733ae37917e61338ee74951f3c2c8b2",
      "old_mode": 33188,
      "old_path": "iree/samples/static_library/CMakeLists.txt",
      "new_id": "927b049856e3e47e0a7dc89991ae14e1a78786d4",
      "new_mode": 33188,
      "new_path": "iree/samples/static_library/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "4a8dbd047b199d2f25136f407a2959f4b2e8dc65",
      "old_mode": 33188,
      "old_path": "iree/samples/static_library/README.md",
      "new_id": "f52771766dfefda4f15bd66450c78d6f51b12f63",
      "new_mode": 33188,
      "new_path": "iree/samples/static_library/README.md"
    },
    {
      "type": "modify",
      "old_id": "5762b5b53009ce0485678c7f33e005e68068ae27",
      "old_mode": 33188,
      "old_path": "iree/samples/vision/CMakeLists.txt",
      "new_id": "355da60f57708dcb71db190d17a8808606718dae",
      "new_mode": 33188,
      "new_path": "iree/samples/vision/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "fccf6ab3ad7205352e6b56ef1e430d8f0970c2c9",
      "old_mode": 33188,
      "old_path": "iree/samples/vulkan/CMakeLists.txt",
      "new_id": "f02e460b850cf28ecfdf0eec1bed57f2736e0010",
      "new_mode": 33188,
      "new_path": "iree/samples/vulkan/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "5c1fc8ba0eb62fdda7a77f82c76abe18829dd856",
      "old_mode": 33188,
      "old_path": "iree/tools/CMakeLists.txt",
      "new_id": "4e8acbd5c19e5f95c1d1a2f6f612996377dff606",
      "new_mode": 33188,
      "new_path": "iree/tools/CMakeLists.txt"
    }
  ]
}
