I plan to use the tools\clang\scripts\build.py file to compile LLVM, but when this file runs for a period of time, an error occurs and interrupts, I am running this file on Windows Server 2022+VS2022+SDK22621, the specific error is reported message as follows:
Running ['C:\\Program Files (x86)\\Windows Kits\\10\\bin\\SetEnv.cmd', '/x64', '&&', 'cl.exe', 'adler32.c', 'compress.c', 'crc32.c', 'deflate.c', 'gzclose.c', 'gzlib.c', 'gzread.c', 'gzwrite.c', 'inflate.c', 'infback .c', 'inftrees.c', 'inffast.c', 'trees.c', 'uncompr.c', 'zutil.c', '/nologo', '/O2', '/DZLIB_DLL', ' /c', '/D_CRT_SECURE_NO_DEPRECATE', '/D_CRT_NONSTDC_NO_DEPRECATE']
'"C:\Program Files (x86)\Windows Kits\10\bin\SetEnv.cmd"' is not recognized as an internal or external command,
operable program or batch file.
Failed.
May I ask how should I solve this problem?