commit | 2eef1f27f8a449353937861bfa556bda5814b22d | [log] [tgz] |
---|---|---|
author | Brian Vaughan <bvaughan@fb.com> | Tue Jul 27 08:05:51 2021 -0700 |
committer | Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> | Tue Jul 27 08:07:26 2021 -0700 |
tree | 980ec9761f3129d0945c01c4884a7a859a01b112 | |
parent | dc55d511d9d8f0e366dd91d8342ef0ab4368aa43 [diff] |
Disable ccache for nccl builds (#62208) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/62208 reverts https://github.com/pytorch/pytorch/pull/55814 which removed a workaround for: https://github.com/pytorch/pytorch/issues/13362 Test Plan: Imported from OSS Reviewed By: ejguan Differential Revision: D29935472 Pulled By: nairbv fbshipit-source-id: 7ce9cde1408f17153632036fd128814032739746
diff --git a/cmake/External/nccl.cmake b/cmake/External/nccl.cmake index c599d87..84c79c2 100644 --- a/cmake/External/nccl.cmake +++ b/cmake/External/nccl.cmake
@@ -22,6 +22,10 @@ CONFIGURE_COMMAND "" BUILD_COMMAND env + # TODO: remove these flags when + # https://github.com/pytorch/pytorch/issues/13362 is fixed + "CCACHE_DISABLE=1" + "SCCACHE_DISABLE=1" make "CXX=${CMAKE_CXX_COMPILER}" "CUDA_HOME=${CUDA_TOOLKIT_ROOT_DIR}"