Unrecognized CMAKE_SYSTEM_NAME = Windows while building Pytorch in Windows

Hi,

I am trying to build Pytorch v2.5.1 from source in Windows with a latest clang compiler.
Steps followed:

  1. git clone --recursive GitHub - pytorch/pytorch: Tensors and Dynamic neural networks in Python with strong GPU acceleration
  2. cd pytorch
  3. Git checkout v2.5.1
  4. git submodule sync
  5. git submodule update --init --recursive
  6. python setup.py install

But I am facing errors as:

CMake Error at aten/src/ATen/native/quantized/cpu/qnnpack/CMakeLists.txt:59 (message):
  Unrecognized CMAKE_SYSTEM_PROCESSOR = AMD64


-- Configuring incomplete, errors occurred!