pytorch/cmake
Ben Olson 1bebe0424e Fix platform detection in MKLDNN CMake file (#142067)
When building PyTorch with `USE_XPU=True` and Clang,
the user sees misleading errors related to incorrect platform
detection that assumes that all users that are not using the GNU
compilers are on Windows. We can fix this by simply using CMake's
builtin platform detection variables.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/142067
Approved by: https://github.com/EikanWang, https://github.com/min-jean-cho, https://github.com/guangyey
2025-05-26 06:09:37 +00:00
..
External Fix broken URLs (#152237) 2025-04-27 09:56:42 +00:00
Modules Fix platform detection in MKLDNN CMake file (#142067) 2025-05-26 06:09:37 +00:00
Modules_CUDA_fix Add scripts to check xrefs and urls (#151844) 2025-04-28 09:30:07 +00:00
public Add /Zc:preprocessor for torch libraries in MSVC builds (#147825) 2025-05-24 06:57:46 +00:00
Allowlist.cmake
BuildVariables.cmake
Caffe2Config.cmake.in xpu: improve error handling and reporting in XPU cmake files (#149353) 2025-03-20 02:00:39 +00:00
cmake_uninstall.cmake.in
Codegen.cmake Fix Codegen.cmake warning (#153023) 2025-05-07 12:45:20 +00:00
DebugHelper.cmake
Dependencies.cmake [ROCm][Windows] Run hipcc with compatibility flags. (#153986) 2025-05-21 20:26:52 +00:00
FlatBuffers.cmake
IncludeSource.cpp.in
iOS.cmake
Metal.cmake [MPS] Support includes in metal objects (#145087) 2025-01-18 05:35:22 +00:00
MiscCheck.cmake Remove CAFFE2_USE_EXCEPTION_PTR (#147247) 2025-03-06 02:56:23 +00:00
prioritized_text.txt [Build] Add linker script optimization (#121975) 2024-04-09 20:22:25 +00:00
ProtoBuf.cmake [Cmake] Make PyTorch buildable by CMake-4.x (#150203) 2025-03-29 01:39:13 +00:00
ProtoBufPatch.cmake
Summary.cmake Revert "Reapply "Delete TorchScript based Android demo app and point to ExecuTorch (#153633)" (#153656)" 2025-05-16 21:00:11 +00:00
TorchConfig.cmake.in [Build] Remove pre-CXX11 ABI logic from build script (#149888) 2025-03-25 03:17:16 +00:00
TorchConfigVersion.cmake.in
VulkanCodegen.cmake [BE][CMake] Use FindPython module (#124613) 2024-05-29 13:17:35 +00:00
VulkanDependencies.cmake