<div dir="ltr"><div>Hello</div><div><br></div><div>llvm build fails at r324504 or later.</div><div>I used the attached file to build. (renamed to .txt)</div><div><br></div><div>example:</div><div>   clang-build.bat ninja  x86 update 324806</div><div><br></div><div>This is the tail of the failure log.</div><div><br></div><div>CPack: Create package using NSIS</div><div>CPack: Install projects</div><div>CPack: - Install project: LLVM</div><div>Creating llvm-ranlib.exe</div><div>Creating llvm-lib.exe</div><div>Creating llvm-dlltool.exe</div><div>Creating clang++.exe</div><div>Creating clang-cl.exe</div><div>Creating clang-cpp.exe</div><div>Creating ../msbuild-bin/cl.exe</div><div>Creating lld-link.exe</div><div>Creating ld.lld.exe</div><div>Creating ld64.lld.exe</div><div>Creating wasm-ld.exe</div><div>Creating llvm-readelf.exe</div><div>CPack: Create package</div><div>CPack Error: Problem running NSIS command: "C:/Program Files (x86)/NSIS/makensis.exe" "C:/Jenkins/workspace/llvm/build/_CPack_Packages/win32/NSIS/project.nsi"</div><div>Please check C:/Jenkins/workspace/llvm/build/_CPack_Packages/win32/NSIS/NSISOutput.log for errors</div><div>CPack Error: Problem compressing the directory</div><div>CPack Error: Error when generating package: LLVM</div><div>FAILED: CMakeFiles/package.util </div><div>cmd.exe /C "cd /D C:\Jenkins\workspace\llvm\build && "C:\Program Files\CMake\bin\cpack.exe" --config ./CPackConfig.cmake"</div><div>ninja: build stopped: subcommand failed.</div><div><br></div><div>I confirmed that the build succeeded by reverting r324504 at r324806.</div><div><br></div><div>Index: cmake/modules/HandleLLVMOptions.cmake</div><div>===================================================================</div><div>--- cmake/modules/HandleLLVMOptions.cmake       (revision 324806)</div><div>+++ cmake/modules/HandleLLVMOptions.cmake       (working copy)</div><div>@@ -353,12 +353,6 @@</div><div><br></div><div>   append("/Zc:inline" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)</div><div><br></div><div>-  # Generate PDB even in release for profiling.</div><div>-  if (uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE")</div><div>-    append("/Zi" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)</div><div>-    append("/DEBUG" CMAKE_EXE_LINKER_FLAGS CMAKE_MODULE_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS)</div><div>-  endif (uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE")</div><div>-</div><div>   # /Zc:strictStrings is incompatible with VS12's (Visual Studio 2013's)</div><div>   # debug mode headers. Instead of only enabling them in VS2013's debug mode,</div><div>   # we'll just enable them for Visual Studio 2015 (VS 14, MSVC_VERSION 1900)</div><div><br></div></div>