mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
When building pytorch with OpenBLAS on windows I ran into this CMake issue: ``` CMake Error at cmake/Modules/FindLAPACK.cmake:137 (check_function_exists): Unknown CMake command "check_function_exists". Call Stack (most recent call first): cmake/Dependencies.cmake:1745 (find_package) CMakeLists.txt:708 (include) ``` Similarly described here: https://discuss.pytorch.org/t/cmake-with-error-by-compiling-on-windows-with-mingw32-make/159140 This PR fixes this issue by adding: ``` include(CheckFunctionExists) ``` To the offending CMake file. Pull Request resolved: https://github.com/pytorch/pytorch/pull/126165 Approved by: https://github.com/ezyang |
||
|---|---|---|
| .. | ||
| External | ||
| Modules | ||
| Modules_CUDA_fix | ||
| public | ||
| Allowlist.cmake | ||
| BuildVariables.cmake | ||
| Caffe2Config.cmake.in | ||
| CheckAbi.cmake | ||
| cmake_uninstall.cmake.in | ||
| Codegen.cmake | ||
| DebugHelper.cmake | ||
| Dependencies.cmake | ||
| FlatBuffers.cmake | ||
| GoogleTestPatch.cmake | ||
| IncludeSource.cpp.in | ||
| iOS.cmake | ||
| Metal.cmake | ||
| MiscCheck.cmake | ||
| prioritized_text.txt | ||
| ProtoBuf.cmake | ||
| ProtoBufPatch.cmake | ||
| Summary.cmake | ||
| TorchConfig.cmake.in | ||
| TorchConfigVersion.cmake.in | ||
| VulkanCodegen.cmake | ||
| VulkanDependencies.cmake | ||