<div dir="ltr">Hi<div><br></div><div>I replaced $(Configuration) Release in cmake_install.cmake manually,</div><div>the errors didn't happen.</div><div><br></div><div>Regards.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-02 16:20 GMT+09:00 masaru tsuchiyama <span dir="ltr"><<a href="mailto:m.tmatma@gmail.com" target="_blank">m.tmatma@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi<div><br></div><div>I'm able to create a package by Ninja.<br><div><br></div><div><div>set DIR=%~dp0</div><div><br></div><div>cd /d %DIR%</div><div>rmdir /s /q llvm</div><div>svn co <a href="http://llvm.org/svn/llvm-project/llvm/trunk" target="_blank">http://llvm.org/svn/llvm-<wbr>project/llvm/trunk</a> llvm</div><div><br></div><div>cd /d %DIR%</div><div>cd llvm\tools</div><div>svn co <a href="http://llvm.org/svn/llvm-project/cfe/trunk" target="_blank">http://llvm.org/svn/llvm-<wbr>project/cfe/trunk</a> clang</div><div><br></div><div>cd /d %DIR%</div><div>cd llvm\tools</div><div>svn co <a href="http://llvm.org/svn/llvm-project/lld/trunk" target="_blank">http://llvm.org/svn/llvm-<wbr>project/lld/trunk</a> lld</div><div><br></div><div>cd /d %DIR%</div><div>cd llvm\tools</div><div>svn co <a href="http://llvm.org/svn/llvm-project/polly/trunk" target="_blank">http://llvm.org/svn/llvm-<wbr>project/polly/trunk</a> polly</div><div><br></div><div>cd /d %DIR%</div><div>cd llvm\projects</div><div>svn co <a href="http://llvm.org/svn/llvm-project/compiler-rt/trunk" target="_blank">http://llvm.org/svn/llvm-<wbr>project/compiler-rt/trunk</a> compiler-rt</div><div><br></div><div>cd /d %DIR%</div><div>cd llvm\projects</div><div>svn co <a href="http://llvm.org/svn/llvm-project/libcxx/trunk" target="_blank">http://llvm.org/svn/llvm-<wbr>project/libcxx/trunk</a> libcxx</div><div>svn co <a href="http://llvm.org/svn/llvm-project/libcxxabi/trunk" target="_blank">http://llvm.org/svn/llvm-<wbr>project/libcxxabi/trunk</a> libcxxabi</div></div><div><br></div><div><div>call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\<wbr>Auxiliary\Build\vcvarsall.bat" x86</div><div><br></div><div>rmdir /s /q build-ninja-llvm</div><div>mkdir build-ninja-llvm</div><div>cd build-ninja-llvm</div><div>cmake ^</div><div>-G Ninja ^</div><div>-D CMAKE_INSTALL_PREFIX=c:\clang ^</div><div>-D CMAKE_BUILD_TYPE=Release ^</div><div>..\llvm</div></div><div>ninja package</div><div><br></div><div>But I coundn't create a package by Visual Studio 2017</div><div><br></div><div><div>cd build2017-llvm</div><div>cmake ^</div><div>-G "Visual Studio 15 2017" ^</div><div>-D CMAKE_INSTALL_PREFIX=c:\clang ^</div><div>..\llvm</div></div></div><div><br></div><div>open LLVM.sln and build PACKAGE.</div><div><br></div><div>Then I got the following errors.</div><div>It seems $(Configuration) is not expanded to Release.</div><div><br></div><div><div>71>------ ビルド開始: プロジェクト: PACKAGE, 構成: Release Win32 ------</div><div>71>CPack: Create package using NSIS</div><div>71>CPack: Install projects</div><div>71>CPack: - Install project: LLVM</div><div>71>CMake Error at C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/<wbr>builtins/cmake_install.cmake:<wbr>34 (file):</div><div>71>  file INSTALL cannot find</div><div>71>  "C:/svnwork/build2017-llvm/$(<wbr>Configuration)/lib/clang/5.0.<wbr>0/lib/windows/clang_rt.<wbr>builtins-i386.lib".</div><div>71>Call Stack (most recent call first):</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/<wbr>cmake_install.cmake:33 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/cmake_<wbr>install.cmake:33 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/cmake_install.cmake:<wbr>32 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>cmake_install.cmake:65 (include)</div><div>71></div><div>71></div><div>71>CMake Error at C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/<wbr>stats/cmake_install.cmake:34 (file):</div><div>71>  file INSTALL cannot find</div><div>71>  "C:/svnwork/build2017-llvm/$(<wbr>Configuration)/lib/clang/5.0.<wbr>0/lib/windows/clang_rt.stats-<wbr>i386.lib".</div><div>71>Call Stack (most recent call first):</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/<wbr>cmake_install.cmake:35 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/cmake_<wbr>install.cmake:33 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/cmake_install.cmake:<wbr>32 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>cmake_install.cmake:65 (include)</div><div>71></div><div>71></div><div>71>CMake Error at C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/<wbr>stats/cmake_install.cmake:46 (file):</div><div>71>  file INSTALL cannot find</div><div>71>  "C:/svnwork/build2017-llvm/$(<wbr>Configuration)/lib/clang/5.0.<wbr>0/lib/windows/clang_rt.stats_<wbr>client-i386.lib".</div><div>71>Call Stack (most recent call first):</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/<wbr>cmake_install.cmake:35 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/cmake_<wbr>install.cmake:33 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/cmake_install.cmake:<wbr>32 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>cmake_install.cmake:65 (include)</div><div>71></div><div>71></div><div>71>CMake Error at C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/<wbr>ubsan/cmake_install.cmake:34 (file):</div><div>71>  file INSTALL cannot find</div><div>71>  "C:/svnwork/build2017-llvm/$(<wbr>Configuration)/lib/clang/5.0.<wbr>0/lib/windows/clang_rt.ubsan_<wbr>standalone-i386.lib".</div><div>71>Call Stack (most recent call first):</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/<wbr>cmake_install.cmake:37 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/cmake_<wbr>install.cmake:33 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/cmake_install.cmake:<wbr>32 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>cmake_install.cmake:65 (include)</div><div>71></div><div>71></div><div>71>CMake Error at C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/<wbr>ubsan/cmake_install.cmake:46 (file):</div><div>71>  file INSTALL cannot find</div><div>71>  "C:/svnwork/build2017-llvm/$(<wbr>Configuration)/lib/clang/5.0.<wbr>0/lib/windows/clang_rt.ubsan_<wbr>standalone_cxx-i386.lib".</div><div>71>Call Stack (most recent call first):</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/<wbr>cmake_install.cmake:37 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/cmake_<wbr>install.cmake:33 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/cmake_install.cmake:<wbr>32 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>cmake_install.cmake:65 (include)</div><div>71></div><div>71></div><div>71>CMake Error at C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/asan/<wbr>cmake_install.cmake:34 (file):</div><div>71>  file INSTALL cannot find</div><div>71>  "C:/svnwork/build2017-llvm/$(<wbr>Configuration)/lib/clang/5.0.<wbr>0/lib/windows/clang_rt.asan-<wbr>i386.lib".</div><div>71>Call Stack (most recent call first):</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/<wbr>cmake_install.cmake:38 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/cmake_<wbr>install.cmake:33 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/cmake_install.cmake:<wbr>32 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>cmake_install.cmake:65 (include)</div><div>71></div><div>71></div><div>71>CMake Error at C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/asan/<wbr>cmake_install.cmake:46 (file):</div><div>71>  file INSTALL cannot find</div><div>71>  "C:/svnwork/build2017-llvm/$(<wbr>Configuration)/lib/clang/5.0.<wbr>0/lib/windows/clang_rt.asan_<wbr>cxx-i386.lib".</div><div>71>Call Stack (most recent call first):</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/<wbr>cmake_install.cmake:38 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/cmake_<wbr>install.cmake:33 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/cmake_install.cmake:<wbr>32 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>cmake_install.cmake:65 (include)</div><div>71></div><div>71></div><div>71>CMake Error at C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/asan/<wbr>cmake_install.cmake:58 (file):</div><div>71>  file INSTALL cannot find</div><div>71>  "C:/svnwork/build2017-llvm/$(<wbr>Configuration)/lib/clang/5.0.<wbr>0/lib/windows/clang_rt.asan-<wbr>preinit-i386.lib".</div><div>71>Call Stack (most recent call first):</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/<wbr>cmake_install.cmake:38 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/cmake_<wbr>install.cmake:33 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/cmake_install.cmake:<wbr>32 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>cmake_install.cmake:65 (include)</div><div>71></div><div>71></div><div>71>CMake Error at C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/asan/<wbr>cmake_install.cmake:82 (file):</div><div>71>  file INSTALL cannot find</div><div>71>  "C:/svnwork/build2017-llvm/$(<wbr>Configuration)/lib/clang/5.0.<wbr>0/lib/windows/clang_rt.asan_<wbr>dynamic-i386.dll".</div><div>71>Call Stack (most recent call first):</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/<wbr>cmake_install.cmake:38 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/cmake_<wbr>install.cmake:33 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/cmake_install.cmake:<wbr>32 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>cmake_install.cmake:65 (include)</div><div>71></div><div>71></div><div>71>CMake Error at C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/asan/<wbr>cmake_install.cmake:94 (file):</div><div>71>  file INSTALL cannot find</div><div>71>  "C:/svnwork/build2017-llvm/$(<wbr>Configuration)/lib/clang/5.0.<wbr>0/lib/windows/clang_rt.asan_<wbr>dll_thunk-i386.lib".</div><div>71>Call Stack (most recent call first):</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/<wbr>cmake_install.cmake:38 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/cmake_<wbr>install.cmake:33 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/cmake_install.cmake:<wbr>32 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>cmake_install.cmake:65 (include)</div><div>71></div><div>71></div><div>71>CMake Error at C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/asan/<wbr>cmake_install.cmake:106 (file):</div><div>71>  file INSTALL cannot find</div><div>71>  "C:/svnwork/build2017-llvm/$(<wbr>Configuration)/lib/clang/5.0.<wbr>0/lib/windows/clang_rt.asan_<wbr>dynamic_runtime_thunk-i386.<wbr>lib".</div><div>71>Call Stack (most recent call first):</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/<wbr>cmake_install.cmake:38 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/cmake_<wbr>install.cmake:33 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/cmake_install.cmake:<wbr>32 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>cmake_install.cmake:65 (include)</div><div>71></div><div>71></div><div>71>CMake Error at C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/<wbr>profile/cmake_install.cmake:34 (file):</div><div>71>  file INSTALL cannot find</div><div>71>  "C:/svnwork/build2017-llvm/$(<wbr>Configuration)/lib/clang/5.0.<wbr>0/lib/windows/clang_rt.<wbr>profile-i386.lib".</div><div>71>Call Stack (most recent call first):</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/lib/<wbr>cmake_install.cmake:39 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/compiler-rt/cmake_<wbr>install.cmake:33 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>projects/cmake_install.cmake:<wbr>32 (include)</div><div>71>  C:/svnwork/build2017-llvm/<wbr>cmake_install.cmake:65 (include)</div></div><div><br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-04-29 15:52 GMT+09:00 masaru tsuchiyama <span dir="ltr"><<a href="mailto:m.tmatma@gmail.com" target="_blank">m.tmatma@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi<div><br></div><div>Could you tell me how to build Windows Installer for clang</div><div><br></div><div>Regards.</div><span class="m_-7099238378703154227HOEnZb"><font color="#888888"><div>Masaru.</div><div><br></div></font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>