pytorch/cmake
Anthony Alayo 31611b40b9 cmake: allow to build pytorch as a CMake subproject (#110373)
This is a re-attempt of fixing https://github.com/pytorch/pytorch/issues/53980, first submitted in https://github.com/pytorch/pytorch/pull/54978.

Quoting @SpaceIm
```
Fixes https://github.com/pytorch/pytorch/issues/53980

Maybe it would be nice to find why some files are generated in CMAKE_BINARY_DIR instead of CMAKE_CURRENT_BINARY_DIR or Torch_BINARY_DIR or PROJECT_BINARY_DIR, but there is a lot of indirection in the logic of pytorch build files, so I was not able to find where it comes from.
```

Pull Request resolved: https://github.com/pytorch/pytorch/pull/110373
Approved by: https://github.com/malfet
2023-10-10 17:47:35 +00:00
..
External [BC BREAKING] Remove outdated python submodules (#108236) 2023-09-02 06:24:20 +00:00
Modules added path to correct directory containing headers (#110063) 2023-10-04 21:56:36 +00:00
Modules_CUDA_fix Add 9.0a to cpp_extension supported compute archs (#110587) 2023-10-05 17:41:06 +00:00
public Enable Wrange-loop-analysis (#110837) 2023-10-09 11:19:03 +00:00
Allowlist.cmake
BuildVariables.cmake
Caffe2Config.cmake.in Don't find MKL if it isn't used (#109426) 2023-09-17 03:39:39 +00:00
CheckAbi.cmake
cmake_uninstall.cmake.in
Codegen.cmake cmake: allow to build pytorch as a CMake subproject (#110373) 2023-10-10 17:47:35 +00:00
DebugHelper.cmake
Dependencies.cmake [2/N] Clean up CMake target linking (#109986) 2023-10-01 05:36:08 +00:00
FlatBuffers.cmake
GoogleTestPatch.cmake
IncludeSource.cpp.in
iOS.cmake Build and test iOS on GitHub M1 runners (#110406) 2023-10-03 03:17:10 +00:00
Metal.cmake
MiscCheck.cmake [BE] Cleanup CMake flag suppressions (#97584) 2023-03-27 18:46:09 +00:00
ProtoBuf.cmake [BE] Cleanup CMake flag suppressions (#97584) 2023-03-27 18:46:09 +00:00
ProtoBufPatch.cmake
Summary.cmake Remove unused build system checks and definitions (#109711) 2023-09-21 16:52:16 +00:00
TorchConfig.cmake.in Revert "[Reland] Upgrade NVTX to NVTX3 (#97582)" 2023-08-15 20:55:12 +00:00
TorchConfigVersion.cmake.in
VulkanCodegen.cmake
VulkanDependencies.cmake