)]}'
{
  "commit": "d1a65a7cc08bac4a2a2159402f09e8ea34b9fc83",
  "tree": "52e41290cdf09aa172f45ba42fcff43e758f1738",
  "parents": [
    "6bc40847d6f9677d1a52062118e5e4367db691dd"
  ],
  "author": {
    "name": "Stella Laurenzo",
    "email": "laurenzo@google.com",
    "time": "Wed Mar 08 19:41:11 2023 -0800"
  },
  "committer": {
    "name": "Stella Laurenzo",
    "email": "laurenzo@google.com",
    "time": "Thu Mar 09 11:55:28 2023 -0800"
  },
  "message": "Extract and improve script to download CUDA toolkit components.\n\nPrevious to this, we were fetching a sample from an NVIDIA github repo and using CMake scripting to use it to download an appropriate SDK. This patch:\n\n* Forks the parse_redist.py sample locally into third_party/nvidia_sdk_download.\n* Fixes a number of things in parse_redist.py to make it more robust, remove warnings, and eliminate the dependency on the Python requests package.\n* Removes the \u0027requests\u0027 package from all requirements files as it is no longer needed.\n* Adds a fetch_cuda_toolkit.py which duplicates the behavior that was open coded in CMake scripting.\n* Updates the build_tools/third_party/cuda/CMakeLists.txt to use the new script instead of its internal approach.\n\nIn a follow-on, I will use this script on the Bazel side to make it auto-fetch the CUDA SDK as needed as well.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "87b986dceeab382e47eddc7cf97cf7177fdc318b",
      "old_mode": 33188,
      "old_path": "build_tools/third_party/cuda/CMakeLists.txt",
      "new_id": "bca76d604d99aac623d009c722be597ab65c6c1f",
      "new_mode": 33188,
      "new_path": "build_tools/third_party/cuda/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "a56208f34931462e32ab9df5909c165840b634bd",
      "old_mode": 33188,
      "old_path": "compiler/pyproject.toml",
      "new_id": "ecff85cdf10dae8e410147b21bfe1c6becbbb690",
      "new_mode": 33188,
      "new_path": "compiler/pyproject.toml"
    },
    {
      "type": "modify",
      "old_id": "0c3625f252630399f7957bf2b37f0fc7efd2d25c",
      "old_mode": 33188,
      "old_path": "runtime/pyproject.toml",
      "new_id": "4ff00b65181994ae26f1a59fa5753b3a707c141f",
      "new_mode": 33188,
      "new_path": "runtime/pyproject.toml"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "05aedde726a267f3ce19cba01748c2b9a4961f70",
      "new_mode": 33261,
      "new_path": "third_party/nvidia_sdk_download/fetch_cuda_toolkit.py"
    },
    {
      "type": "modify",
      "old_id": "fc9079db4f8b286eb08d795ddaff3eac5e039a91",
      "old_mode": 33188,
      "old_path": "third_party/nvidia_sdk_download/parse_redist.py",
      "new_id": "020afd5e75b79cb123f17f2d26060654c42683c4",
      "new_mode": 33188,
      "new_path": "third_party/nvidia_sdk_download/parse_redist.py"
    }
  ]
}
