)]}'
{
  "commit": "289b9a1ebf954be3995cc1895254d09f2623341f",
  "tree": "05f88b7180172655fac274250718d46878bb91e9",
  "parents": [
    "7a6b21b3c872477ac2d12ad7b8055d1d4fc0a65c"
  ],
  "author": {
    "name": "Stella Laurenzo",
    "email": "laurenzo@google.com",
    "time": "Fri Feb 24 13:06:32 2023 -0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Feb 24 13:06:32 2023 -0800"
  },
  "message": "Add IREE_COMPILER_BUILD_SHARED_LIBS option. (#12310)\n\n* Balances all of the angels on the head of the pin such that when using\r\nit, trivial changes to the compiler that would usually require a lengthy\r\nre-link happen in \u003c1s.\r\n* Fixes some indirect dependencies that were missing (and enforced with\r\nstricter linking).\r\n* This is the equivalent of how LLVM interprets -DBUILD_SHARED_LIBS\u003dON,\r\nscoped to just IREE\u0027s bundled LLVM, LLVM sub-projects and compiler\r\nsources.\r\n* As with all uses of BUILD_SHARED_LIBS, the support matrix for this\r\nfeature is sparse: there are many ways it will not work outside of its\r\nstrict case for supporting development.\r\n* iree-run-module is not happy (complaining of duplicate option\r\nregistration). Will triage separately.\r\n* This probably only works on Linux right now. It likely can work on\r\nMacOS, but the libIREECompiler.dylib will need to be rigged with\r\n--reexport_library (which is effectively the default for dynamically\r\nloaded ELF). I don\u0027t think this will work on Windows without substantial\r\nwork.\r\n* I am intending to use this mode to enable rapid reload of dynamically\r\nbuilt plugins, etc.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2c91aac44aa0d865b3cdbef7977bbcf0883ba659",
      "old_mode": 33188,
      "old_path": "CMakeLists.txt",
      "new_id": "0c345433287a7edb8f919dad0ae5405057266105",
      "new_mode": 33188,
      "new_path": "CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "e3d18d1814b0268e7c49fc9b5a1cdc3555e4c5cf",
      "old_mode": 33188,
      "old_path": "build_tools/cmake/iree_cc_library.cmake",
      "new_id": "0392cb7eb7ccae0404c6a10500bb14660cff90e0",
      "new_mode": 33188,
      "new_path": "build_tools/cmake/iree_cc_library.cmake"
    },
    {
      "type": "modify",
      "old_id": "f6f3c490078e403a6d0846955861f18e35a5d460",
      "old_mode": 33188,
      "old_path": "build_tools/cmake/iree_setup_toolchain.cmake",
      "new_id": "52d494b09b81ad76dfa3e294eb989692f352c0ca",
      "new_mode": 33188,
      "new_path": "build_tools/cmake/iree_setup_toolchain.cmake"
    },
    {
      "type": "modify",
      "old_id": "d6a841947ae099388789af0f8e4e67f1b6e70508",
      "old_mode": 33188,
      "old_path": "compiler/src/CMakeLists.txt",
      "new_id": "02571bc89ae2cb4651f5ba44d17ba52006396484",
      "new_mode": 33188,
      "new_path": "compiler/src/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "1667aea47b98f11209e576b98476e99f35754b12",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/API/python/CMakeLists.txt",
      "new_id": "7d8221f64780eb20f63385de3dafda6050163ebb",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/API/python/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "7a03c31421af0b4f05a6a1b14fade95e03a8a553",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/API2/CMakeLists.txt",
      "new_id": "751ffe591cea3d1e713d1b72a954df3541c33e25",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/API2/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "9d2dc516ec8277b9880a483c4f272a96bece9fe5",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/API2/Internal/BUILD",
      "new_id": "d4ca338971527b4c9997cf2b0e1307e0cdc641e0",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/API2/Internal/BUILD"
    },
    {
      "type": "modify",
      "old_id": "e926eb0e758ee9ba02fb01e919fc59606a5dce62",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/API2/Internal/CMakeLists.txt",
      "new_id": "5e03e14e4bac7f952891065e9d4a1f63c1af3af0",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/API2/Internal/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "9d736a2a67b6b11be2f8fa81a34029506e055d0c",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/API2/test/BUILD",
      "new_id": "d7669e22d2d7e18f8608841c5e0ec98702e36fb1",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/API2/test/BUILD"
    },
    {
      "type": "modify",
      "old_id": "47c07c31acd55cb502af21e95e09b97200b9a03c",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/API2/test/CMakeLists.txt",
      "new_id": "7676f10220c2e88a8e83a56380bb91ecef5c7650",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/API2/test/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "673e634a62b1721846ca5dbad85055a5b7a3c527",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/HAL/Target/LLVM/CMakeLists.txt",
      "new_id": "4d5528cdf45cc46f3df36b8bc7aed20a2100f17e",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/HAL/Target/LLVM/CMakeLists.txt"
    }
  ]
}
