pytorch/cmake
Nikita Shulga 0910429d72 [BE][CMake] Use FindPython module (#124613)
As FindPythonInterp and FindPythonLibs has been deprecated since cmake-3.12

Replace `PYTHON_EXECUTABLE` with `Python_EXECUTABLE` everywhere (CMake variable names are case-sensitive)

This makes PyTorch buildable with python3 binary shipped with XCode on MacOS

TODO: Get rid of `FindNumpy` as its part of Python package
Pull Request resolved: https://github.com/pytorch/pytorch/pull/124613
Approved by: https://github.com/cyyever, https://github.com/Skylion007
2024-05-29 13:17:35 +00:00
..
External Remove cuda dependencies when building AOTriton (#122982) 2024-04-01 17:50:35 +00:00
Modules [BE][CMake] Use FindPython module (#124613) 2024-05-29 13:17:35 +00:00
Modules_CUDA_fix Allow building for sm90a (#125523) 2024-05-06 20:03:12 +00:00
public [BE][CMake] Use FindPython module (#124613) 2024-05-29 13:17:35 +00:00
Allowlist.cmake
BuildVariables.cmake
Caffe2Config.cmake.in [Submodule] Remove third-party onnx-tensorrt (#126542) 2024-05-19 22:34:24 +00:00
CheckAbi.cmake
cmake_uninstall.cmake.in
Codegen.cmake [BE][CMake] Use FindPython module (#124613) 2024-05-29 13:17:35 +00:00
DebugHelper.cmake
Dependencies.cmake [BE][CMake] Use FindPython module (#124613) 2024-05-29 13:17:35 +00:00
FlatBuffers.cmake
GoogleTestPatch.cmake
IncludeSource.cpp.in
iOS.cmake
Metal.cmake
MiscCheck.cmake
prioritized_text.txt [Build] Add linker script optimization (#121975) 2024-04-09 20:22:25 +00:00
ProtoBuf.cmake
ProtoBufPatch.cmake
Summary.cmake [BE][CMake] Use FindPython module (#124613) 2024-05-29 13:17:35 +00:00
TorchConfig.cmake.in [Submodule] Clear USE_QNNPACK build option (#126941) 2024-05-24 00:12:56 +00:00
TorchConfigVersion.cmake.in
VulkanCodegen.cmake [BE][CMake] Use FindPython module (#124613) 2024-05-29 13:17:35 +00:00
VulkanDependencies.cmake