)]}'
{
  "commit": "c267ed205a2ef2a2396b4d00b593d617b2befdcc",
  "tree": "81bfb5269bbc16bb6ff36c438a5a670a88b15d1a",
  "parents": [
    "7dc7907837a8ce4608f8cc762409617e62c496fe"
  ],
  "author": {
    "name": "Brad King",
    "email": "brad.king@kitware.com",
    "time": "Mon Apr 25 15:01:36 2022 -0400"
  },
  "committer": {
    "name": "Brad King",
    "email": "brad.king@kitware.com",
    "time": "Mon Apr 25 15:01:36 2022 -0400"
  },
  "message": "CUDA: Defer architecture testing to the compiler testing step\n\nVerifying the architectures during compiler identification is redundant,\nand requires a lot more up-front information than we should need.\nIt also causes unsupported architectures to break the compiler id and\nversion detection, so the resulting output from CMake does not report\nthe compiler version, which is useful information to know why the\nspecified architectures are not supported.\n\nThe \"detecting compiler ABI info\" and \"check for working compiler\" steps\nalready pass `CMAKE_CUDA_ARCHITECTURES` into their test projects.\nTherefore we can just drop the earlier architecture testing.  Bad\narchitectures will be reported as a not-working compiler, and the\noutput will include the compiler\u0027s error message.\n\nThis reverts the approach from:\n\n* commit 19cc5bc296 (CUDA: Throw error if user-specified architectures\n                     don\u0027t work, 2020-05-26, v3.18.0-rc1~79^2)\n* commit 650c1029a0 (CUDA: Detect non-working user-specified architectures\n                     on NVCC, 2020-05-28, v3.18.0-rc1~51^2)\n* commit 01428c5560 (CUDA: Fail fast if CMAKE_CUDA_ARCHITECTURES\n                     doesn\u0027t work during detection,\n                     2020-08-29, v3.19.0-rc1~241^2).\n\nTheir goal was in part to avoid waiting until the test for working\ncompiler to detect unsupported architectures.  However, experience has\nshown that failing earlier is more trouble than it\u0027s worth.\n\nFixes: #23161\nIssue: #20756\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "66020e8ae48b608aac9a2c1ad7ce948f810beeda",
      "old_mode": 33188,
      "old_path": "Modules/CMakeDetermineCUDACompiler.cmake",
      "new_id": "23da8eecb1567ecc9ca3a2ebc118f4654fe4c618",
      "new_mode": 33188,
      "new_path": "Modules/CMakeDetermineCUDACompiler.cmake"
    },
    {
      "type": "modify",
      "old_id": "a90fa5dbb73ed78d2a6d82c748341713a04a3f53",
      "old_mode": 33188,
      "old_path": "Modules/CMakeDetermineCompilerId.cmake",
      "new_id": "0e8b2af3f21fa957ed311a7ccfb966c3a2cf25ba",
      "new_mode": 33188,
      "new_path": "Modules/CMakeDetermineCompilerId.cmake"
    },
    {
      "type": "modify",
      "old_id": "9b1f2b50a945e6141d15298b593bf85b787d8be3",
      "old_mode": 33188,
      "old_path": "Modules/CUDA/architectures.cmake",
      "new_id": "fa3a5a178d210c768c4bf8f6c40efdf817747987",
      "new_mode": 33188,
      "new_path": "Modules/CUDA/architectures.cmake"
    },
    {
      "type": "modify",
      "old_id": "39640faceb2f980801c27f39ee63ae93c1dfb633",
      "old_mode": 33188,
      "old_path": "Tests/RunCMake/CUDA_architectures/architectures-empty-stderr.txt",
      "new_id": "6c42612c6efd181c381f2bb1f19c84f0aafd04fa",
      "new_mode": 33188,
      "new_path": "Tests/RunCMake/CUDA_architectures/architectures-empty-stderr.txt"
    },
    {
      "type": "modify",
      "old_id": "76087300dbb7172b1d7babba7297ae977e4bf349",
      "old_mode": 33188,
      "old_path": "Tests/RunCMake/CUDA_architectures/architectures-invalid-stderr.txt",
      "new_id": "48f379c66ef29f5c657f240c14511289e6b165fe",
      "new_mode": 33188,
      "new_path": "Tests/RunCMake/CUDA_architectures/architectures-invalid-stderr.txt"
    }
  ]
}
