[cfe-users] complie clang with clang
Hi. I'm trying to complie clang with clang. Then I found the site. http://stackoverflow.com/questions/12479458/how-to-build-clang-with-clang I want to know whether clang is surely used when compiling clang. I want it to display command line of clang compilation. Is there any method to show the exact command line when compiling it. Best Regards. -- Masaru Tsuchiyama ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
Re: [cfe-users] complie clang with clang
Hi. Thank you for the replay. I could show the command lines with the following steps. $ CXX=clang++ CC=clang cmake -G Ninja ../llvm $ ninja-build -v But I want to do this with make. Could you tell me how? Rest Regards. Duncan P. N. Exon Smith wrote: On 2017-Mar-21, at 06:51, Masaru Tsuchiyama via cfe-users wrote: Hi. I'm trying to complie clang with clang. This should be fairly well documented. Try these: http://clang.llvm.org/get_started.html http://llvm.org/docs/CMake.html http://llvm.org/docs/AdvancedBuilds.html It sounds like you're looking for "bootstrap" builds, which is the first thing in the third link. Then I found the site. http://stackoverflow.com/questions/12479458/how-to-build-clang-with-clang I want to know whether clang is surely used when compiling clang. I want it to display command line of clang compilation. Is there any method to show the exact command line when compiling it. This depends on your build system. If you're using Ninja, you can add "-v" to the command-line to see what commands are being called. Best Regards. -- Masaru Tsuchiyama ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users -- Masaru Tsuchiyama ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
Re: [cfe-users] complie clang with clang
Hi. Thank you for the reply. I was able to show the command lines with your method. Best Regards. Masaru Hans Wennborg wrote: I think this should do it: $ CXX=clang++ CC=clang cmake -G "Unix Makefiles" ../llvm $ VERBOSE=1 make -j8 On Wed, Mar 22, 2017 at 5:19 AM, Masaru Tsuchiyama via cfe-users wrote: Hi. Thank you for the replay. I could show the command lines with the following steps. $ CXX=clang++ CC=clang cmake -G Ninja ../llvm $ ninja-build -v But I want to do this with make. Could you tell me how? Rest Regards. Duncan P. N. Exon Smith wrote: On 2017-Mar-21, at 06:51, Masaru Tsuchiyama via cfe-users wrote: Hi. I'm trying to complie clang with clang. This should be fairly well documented. Try these: http://clang.llvm.org/get_started.html http://llvm.org/docs/CMake.html http://llvm.org/docs/AdvancedBuilds.html It sounds like you're looking for "bootstrap" builds, which is the first thing in the third link. Then I found the site. http://stackoverflow.com/questions/12479458/how-to-build-clang-with-clang I want to know whether clang is surely used when compiling clang. I want it to display command line of clang compilation. Is there any method to show the exact command line when compiling it. This depends on your build system. If you're using Ninja, you can add "-v" to the command-line to see what commands are being called. Best Regards. -- Masaru Tsuchiyama ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users -- Masaru Tsuchiyama ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users -- Masaru Tsuchiyama ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
[cfe-users] clang windows installer
Hi I want to compile clang windows installer. Could you tell me how? Regards Masaru ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
Re: [cfe-users] clang windows installer
Hi. Thank you for the reply. I looked at the bat file. But it seems that the script is not portable. The path is absolute. Hans Wennborg wrote: On Sun, Mar 26, 2017 at 1:06 AM, Masaru Tsuchiyama via cfe-users wrote: Hi I want to compile clang windows installer. Could you tell me how? Do you mean you want to build the installer, similar to the one on http://llvm.org/builds/ It is built with the script in utils/release/build_llvm_package.bat Cheers, Hans -- Masaru Tsuchiyama ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
[cfe-users] McAfee detected test-pdb.exe as a virus
Hi I check out lldb, but the checkout failed because McAfee detected test-pdb.exe as a virus. The command is svn co http://llvm.org/svn/llvm-project/lldb/trunk lldb The file is http://llvm.org/svn/llvm-project/lldb/trunk/unittests/SymbolFile/PDB/Inputs/test-pdb.exe -- Masaru ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
[cfe-users] make cross compiler with Visual Studio 2017
Hi Is it possible to make cross compiler with Visual Studio 2017? If so, please tell me how. I used the following bat file, but got some errors set clang_format_vs_version=5.0.0 set buildir=build-ninja-arm --- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x86 set cmake_flags=-DCMAKE_BUILD_TYPE=Release set cmake_flags=%cmake_flags% -DLLVM_ENABLE_ASSERTIONS=ON set cmake_flags=%cmake_flags% -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON set cmake_flags=%cmake_flags% -DCMAKE_INSTALL_UCRT_LIBRARIES=ON set cmake_flags=%cmake_flags% -DCLANG_FORMAT_VS_VERSION=%clang_format_vs_version% set cmake_flags=%cmake_flags% -DPACKAGE_VERSION=%package_version% set cmake_flags=%cmake_flags% -DLLDB_RELOCATABLE_PYTHON=1 set cmake_flags=%cmake_flags% -DLLDB_TEST_COMPILER=%cd%\build32_stage0\bin\clang.exe set cmake_flags=%cmake_flags% -DCMAKE_CL_SHOWINCLUDES_PREFIX="Note: including file: " set cmake_flags=%cmake_flags% -DCMAKE_CROSSCOMPILING=True set cmake_flags=%cmake_flags% -DLLVM_DEFAULT_TARGET_TRIPLE=arm-linux-gnueabihf set cmake_flags=%cmake_flags% -DLLVM_TARGET_ARCH=ARM set cmake_flags=%cmake_flags% -DLLVM_TARGETS_TO_BUILD=ARM set cmake_flags=%cmake_flags% -DCMAKE_INSTALL_PREFIX=C:\clang-arm rmdir /s /q %buildir% rmdir /s /q %buildir% rmdir /s /q %buildir% if exist %buildir% exit 1 mkdir %buildir% cd %buildir% cmake -G Ninja %cmake_flags% ..\llvm "C:\Program Files (x86)\ninja-win\ninja.exe" -v -- Masaru Tsuchiyama ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
[cfe-users] Building RPM for clang
Hi Could you tell me how to build a RPM of clang? Regards. Masaru ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
[cfe-users] Building Windows Installer fo clang
Hi Could you tell me how to build Windows Installer for clang Regards. Masaru. ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
Re: [cfe-users] Building Windows Installer fo clang
Hi I'm able to create a package by Ninja. set DIR=%~dp0 cd /d %DIR% rmdir /s /q llvm svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm cd /d %DIR% cd llvm\tools svn co http://llvm.org/svn/llvm-project/cfe/trunk clang cd /d %DIR% cd llvm\tools svn co http://llvm.org/svn/llvm-project/lld/trunk lld cd /d %DIR% cd llvm\tools svn co http://llvm.org/svn/llvm-project/polly/trunk polly cd /d %DIR% cd llvm\projects svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt cd /d %DIR% cd llvm\projects svn co http://llvm.org/svn/llvm-project/libcxx/trunk libcxx svn co http://llvm.org/svn/llvm-project/libcxxabi/trunk libcxxabi call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x86 rmdir /s /q build-ninja-llvm mkdir build-ninja-llvm cd build-ninja-llvm cmake ^ -G Ninja ^ -D CMAKE_INSTALL_PREFIX=c:\clang ^ -D CMAKE_BUILD_TYPE=Release ^ ..\llvm ninja package But I coundn't create a package by Visual Studio 2017 cd build2017-llvm cmake ^ -G "Visual Studio 15 2017" ^ -D CMAKE_INSTALL_PREFIX=c:\clang ^ ..\llvm open LLVM.sln and build PACKAGE. Then I got the following errors. It seems $(Configuration) is not expanded to Release. 71>-- ビルド開始: プロジェクト: PACKAGE, 構成: Release Win32 -- 71>CPack: Create package using NSIS 71>CPack: Install projects 71>CPack: - Install project: LLVM 71>CMake Error at C:/svnwork/build2017-llvm/projects/compiler-rt/lib/builtins/cmake_install.cmake:34 (file): 71> file INSTALL cannot find 71> "C:/svnwork/build2017-llvm/$(Configuration)/lib/clang/5.0.0/lib/windows/clang_rt.builtins-i386.lib". 71>Call Stack (most recent call first): 71> C:/svnwork/build2017-llvm/projects/compiler-rt/lib/cmake_install.cmake:33 (include) 71> C:/svnwork/build2017-llvm/projects/compiler-rt/cmake_install.cmake:33 (include) 71> C:/svnwork/build2017-llvm/projects/cmake_install.cmake:32 (include) 71> C:/svnwork/build2017-llvm/cmake_install.cmake:65 (include) 71> 71> 71>CMake Error at C:/svnwork/build2017-llvm/projects/compiler-rt/lib/stats/cmake_install.cmake:34 (file): 71> file INSTALL cannot find 71> "C:/svnwork/build2017-llvm/$(Configuration)/lib/clang/5.0.0/lib/windows/clang_rt.stats-i386.lib". 71>Call Stack (most recent call first): 71> C:/svnwork/build2017-llvm/projects/compiler-rt/lib/cmake_install.cmake:35 (include) 71> C:/svnwork/build2017-llvm/projects/compiler-rt/cmake_install.cmake:33 (include) 71> C:/svnwork/build2017-llvm/projects/cmake_install.cmake:32 (include) 71> C:/svnwork/build2017-llvm/cmake_install.cmake:65 (include) 71> 71> 71>CMake Error at C:/svnwork/build2017-llvm/projects/compiler-rt/lib/stats/cmake_install.cmake:46 (file): 71> file INSTALL cannot find 71> "C:/svnwork/build2017-llvm/$(Configuration)/lib/clang/5.0.0/lib/windows/clang_rt.stats_client-i386.lib". 71>Call Stack (most recent call first): 71> C:/svnwork/build2017-llvm/projects/compiler-rt/lib/cmake_install.cmake:35 (include) 71> C:/svnwork/build2017-llvm/projects/compiler-rt/cmake_install.cmake:33 (include) 71> C:/svnwork/build2017-llvm/projects/cmake_install.cmake:32 (include) 71> C:/svnwork/build2017-llvm/cmake_install.cmake:65 (include) 71> 71> 71>CMake Error at C:/svnwork/build2017-llvm/projects/compiler-rt/lib/ubsan/cmake_install.cmake:34 (file): 71> file INSTALL cannot find 71> "C:/svnwork/build2017-llvm/$(Configuration)/lib/clang/5.0.0/lib/windows/clang_rt.ubsan_standalone-i386.lib". 71>Call Stack (most recent call first): 71> C:/svnwork/build2017-llvm/projects/compiler-rt/lib/cmake_install.cmake:37 (include) 71> C:/svnwork/build2017-llvm/projects/compiler-rt/cmake_install.cmake:33 (include) 71> C:/svnwork/build2017-llvm/projects/cmake_install.cmake:32 (include) 71> C:/svnwork/build2017-llvm/cmake_install.cmake:65 (include) 71> 71> 71>CMake Error at C:/svnwork/build2017-llvm/projects/compiler-rt/lib/ubsan/cmake_install.cmake:46 (file): 71> file INSTALL cannot find 71> "C:/svnwork/build2017-llvm/$(Configuration)/lib/clang/5.0.0/lib/windows/clang_rt.ubsan_standalone_cxx-i386.lib". 71>Call Stack (most recent call first): 71> C:/svnwork/build2017-llvm/projects/compiler-rt/lib/cmake_install.cmake:37 (include) 71> C:/svnwork/build2017-llvm/projects/compiler-rt/cmake_install.cmake:33 (include) 71> C:/svnwork/build2017-llvm/projects/cmake_install.cmake:32 (include) 71> C:/svnwork/build2017-llvm/cmake_install.cmake:65 (include) 71> 71> 71>CMake Error at C:/svnwork/build2017-llvm/projects/compiler-rt/lib/asan/cmake_install.cmake:34 (file): 71> file INSTALL cannot find 71> "C:/svnwork/build2017-llvm/$(Configuration)/lib/clang/5.0.0/lib/windows/clang_rt.asan-i386.lib". 71>Call Stack (most recent call first): 71> C:/svnwork/build2017-llvm/projects/compiler-rt/lib/cmake_install.cmake:38 (include) 71> C:/svnwork/build2017-llvm/projects/compiler-rt/cmake_install.cmake:33 (include) 71> C:/svnwork/build2017-llvm/projects/cmake_install.cmake:32 (include) 71> C:/svnwork/build2017-llvm/cmake_install.cmake:65 (include) 71> 71>
Re: [cfe-users] Building Windows Installer fo clang
Hi I replaced $(Configuration) Release in cmake_install.cmake manually, the errors didn't happen. Regards. 2017-05-02 16:20 GMT+09:00 masaru tsuchiyama : > Hi > > I'm able to create a package by Ninja. > > set DIR=%~dp0 > > cd /d %DIR% > rmdir /s /q llvm > svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm > > cd /d %DIR% > cd llvm\tools > svn co http://llvm.org/svn/llvm-project/cfe/trunk clang > > cd /d %DIR% > cd llvm\tools > svn co http://llvm.org/svn/llvm-project/lld/trunk lld > > cd /d %DIR% > cd llvm\tools > svn co http://llvm.org/svn/llvm-project/polly/trunk polly > > cd /d %DIR% > cd llvm\projects > svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt > > cd /d %DIR% > cd llvm\projects > svn co http://llvm.org/svn/llvm-project/libcxx/trunk libcxx > svn co http://llvm.org/svn/llvm-project/libcxxabi/trunk libcxxabi > > call "C:\Program Files (x86)\Microsoft Visual > Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" > x86 > > rmdir /s /q build-ninja-llvm > mkdir build-ninja-llvm > cd build-ninja-llvm > cmake ^ > -G Ninja ^ > -D CMAKE_INSTALL_PREFIX=c:\clang ^ > -D CMAKE_BUILD_TYPE=Release ^ > ..\llvm > ninja package > > But I coundn't create a package by Visual Studio 2017 > > cd build2017-llvm > cmake ^ > -G "Visual Studio 15 2017" ^ > -D CMAKE_INSTALL_PREFIX=c:\clang ^ > ..\llvm > > open LLVM.sln and build PACKAGE. > > Then I got the following errors. > It seems $(Configuration) is not expanded to Release. > > 71>-- ビルド開始: プロジェクト: PACKAGE, 構成: Release Win32 -- > 71>CPack: Create package using NSIS > 71>CPack: Install projects > 71>CPack: - Install project: LLVM > 71>CMake Error at C:/svnwork/build2017-llvm/projects/compiler-rt/lib/ > builtins/cmake_install.cmake:34 (file): > 71> file INSTALL cannot find > 71> "C:/svnwork/build2017-llvm/$(Configuration)/lib/clang/5.0. > 0/lib/windows/clang_rt.builtins-i386.lib". > 71>Call Stack (most recent call first): > 71> C:/svnwork/build2017-llvm/projects/compiler-rt/lib/cmake_install.cmake:33 > (include) > 71> C:/svnwork/build2017-llvm/projects/compiler-rt/cmake_install.cmake:33 > (include) > 71> C:/svnwork/build2017-llvm/projects/cmake_install.cmake:32 (include) > 71> C:/svnwork/build2017-llvm/cmake_install.cmake:65 (include) > 71> > 71> > 71>CMake Error at > C:/svnwork/build2017-llvm/projects/compiler-rt/lib/stats/cmake_install.cmake:34 > (file): > 71> file INSTALL cannot find > 71> "C:/svnwork/build2017-llvm/$(Configuration)/lib/clang/5.0. > 0/lib/windows/clang_rt.stats-i386.lib". > 71>Call Stack (most recent call first): > 71> C:/svnwork/build2017-llvm/projects/compiler-rt/lib/cmake_install.cmake:35 > (include) > 71> C:/svnwork/build2017-llvm/projects/compiler-rt/cmake_install.cmake:33 > (include) > 71> C:/svnwork/build2017-llvm/projects/cmake_install.cmake:32 (include) > 71> C:/svnwork/build2017-llvm/cmake_install.cmake:65 (include) > 71> > 71> > 71>CMake Error at > C:/svnwork/build2017-llvm/projects/compiler-rt/lib/stats/cmake_install.cmake:46 > (file): > 71> file INSTALL cannot find > 71> "C:/svnwork/build2017-llvm/$(Configuration)/lib/clang/5.0. > 0/lib/windows/clang_rt.stats_client-i386.lib". > 71>Call Stack (most recent call first): > 71> C:/svnwork/build2017-llvm/projects/compiler-rt/lib/cmake_install.cmake:35 > (include) > 71> C:/svnwork/build2017-llvm/projects/compiler-rt/cmake_install.cmake:33 > (include) > 71> C:/svnwork/build2017-llvm/projects/cmake_install.cmake:32 (include) > 71> C:/svnwork/build2017-llvm/cmake_install.cmake:65 (include) > 71> > 71> > 71>CMake Error at > C:/svnwork/build2017-llvm/projects/compiler-rt/lib/ubsan/cmake_install.cmake:34 > (file): > 71> file INSTALL cannot find > 71> "C:/svnwork/build2017-llvm/$(Configuration)/lib/clang/5.0. > 0/lib/windows/clang_rt.ubsan_standalone-i386.lib". > 71>Call Stack (most recent call first): > 71> C:/svnwork/build2017-llvm/projects/compiler-rt/lib/cmake_install.cmake:37 > (include) > 71> C:/svnwork/build2017-llvm/projects/compiler-rt/cmake_install.cmake:33 > (include) > 71> C:/svnwork/build2017-llvm/projects/cmake_install.cmake:32 (include) > 71> C:/svnwork/build2017-llvm/cmake_install.cmake:65 (include) > 71> > 71> > 71>CMake Error at > C:/svnwork/build2017-llvm/projects/compiler-rt/lib/ubsan/cmake_install.cmake:46 > (file): > 71> file INSTALL cannot find > 71> "C:/svnwork/build2017-llvm/$(Configuration)/lib/clang/5.0. > 0/lib/windows/clang_rt.ubsan_standalone_cxx-i386.lib". > 71>Call Stack (most recent call first): > 71> C:/svnwork/build2017-llvm/projects/compiler-rt/lib/cmake_install.cmake:37 > (include) > 71> C:/svnwork/build2017-llvm/projects/compiler-rt/cmake_install.cmake:33 > (include) > 71> C:/svnwork/build2017-llvm/projects/cmake_install.cmake:32 (include) > 71> C:/svnwork/build2017-llvm/cmake_install.cmake:65 (include) > 71> > 71> > 71>CMake Error at > C:/svnwork/build2017-llvm/projects/compiler-rt/lib/asan/cmake_install.cmake:34 > (file): > 71> file INSTALL cannot find > 71> "C:/svnwork/build2017-l
[cfe-users] cmake error with cmake 3.9.1
Hello I updated cmake to 3.9.1, then got the following error message on Win10. I don't get this error with cmake 3.7.1. Do you know what is wrong? a bug of cmake? > "C:\Program Files\CMake\bin\cmake.exe" -G Ninja -D CMAKE_INSTALL_PREFIX=c:\clang -D CMAKE_BUILD_TYPE=Release .. -- The C compiler identification is MSVC 19.11.25506.0 -- The CXX compiler identification is MSVC 19.11.25506.0 -- The ASM compiler identification is MSVC -- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.11.25503/bin/HostX86/x86/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.11.25503/bin/HostX86/x86/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.11.25503/bin/HostX86/x86/cl.exe -- broken CMake Error at C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeTestCCompiler.cmake:51 (message): The C compiler "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.11.25503/bin/HostX86/x86/cl.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: C:/svnwork/llvm2/build/CMakeFiles/CMakeTmp This is a batch file to compile llvm. - set ROOTDIR=llvm2 set DIR=%~dp0 cd /d %DIR% if exist %ROOTDIR% rmdir /s /q %ROOTDIR% if exist %ROOTDIR% exit /b 1 svn cohttp://llvm.org/svn/llvm-project/llvm/trunk%ROOTDIR% svn cohttp://llvm.org/svn/llvm-project/cfe/trunk %ROOTDIR%\tools\clang svn cohttp://llvm.org/svn/llvm-project/lld/trunk %ROOTDIR%\tools\lld svn cohttp://llvm.org/svn/llvm-project/polly/trunk %ROOTDIR%\tools\polly svn cohttp://llvm.org/svn/llvm-project/compiler-rt/trunk %ROOTDIR%\projects\compiler-rt svn cohttp://llvm.org/svn/llvm-project/libcxx/trunk %ROOTDIR%\projects\libcxx svn cohttp://llvm.org/svn/llvm-project/libcxxabi/trunk %ROOTDIR%\projects\libcxxabi cd %ROOTDIR% || exit /b 1 if exist build rmdir /s /q build if exist build exit /b 1 if not exist build mkdir build cd build del /Q LLVM-*.exe call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x86 "C:\Program Files\CMake\bin\cmake.exe" -G Ninja -D CMAKE_INSTALL_PREFIX=c:\clang -D CMAKE_BUILD_TYPE=Release .. ninja -v package - -- Masaru Tsuchiyama ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
Re: [cfe-users] cmake error with cmake 3.9.1
Hello This was a bug of cmake. cmake doesn't create 'rules.ninja' while the build process even though generated build.ninja has a line "include rules.ninja". I can reproduce it with the other project which uses cmake. Regards. Masaru. Masaru Tsuchiyama wrote: Hello I updated cmake to 3.9.1, then got the following error message on Win10. I don't get this error with cmake 3.7.1. Do you know what is wrong? a bug of cmake? > "C:\Program Files\CMake\bin\cmake.exe" -G Ninja -D CMAKE_INSTALL_PREFIX=c:\clang -D CMAKE_BUILD_TYPE=Release .. -- The C compiler identification is MSVC 19.11.25506.0 -- The CXX compiler identification is MSVC 19.11.25506.0 -- The ASM compiler identification is MSVC -- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.11.25503/bin/HostX86/x86/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.11.25503/bin/HostX86/x86/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.11.25503/bin/HostX86/x86/cl.exe -- broken CMake Error at C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeTestCCompiler.cmake:51 (message): The C compiler "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.11.25503/bin/HostX86/x86/cl.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: C:/svnwork/llvm2/build/CMakeFiles/CMakeTmp This is a batch file to compile llvm. - set ROOTDIR=llvm2 set DIR=%~dp0 cd /d %DIR% if exist %ROOTDIR% rmdir /s /q %ROOTDIR% if exist %ROOTDIR% exit /b 1 svn cohttp://llvm.org/svn/llvm-project/llvm/trunk%ROOTDIR% svn cohttp://llvm.org/svn/llvm-project/cfe/trunk %ROOTDIR%\tools\clang svn cohttp://llvm.org/svn/llvm-project/lld/trunk %ROOTDIR%\tools\lld svn cohttp://llvm.org/svn/llvm-project/polly/trunk %ROOTDIR%\tools\polly svn cohttp://llvm.org/svn/llvm-project/compiler-rt/trunk %ROOTDIR%\projects\compiler-rt svn cohttp://llvm.org/svn/llvm-project/libcxx/trunk %ROOTDIR%\projects\libcxx svn cohttp://llvm.org/svn/llvm-project/libcxxabi/trunk %ROOTDIR%\projects\libcxxabi cd %ROOTDIR% || exit /b 1 if exist build rmdir /s /q build if exist build exit /b 1 if not exist build mkdir build cd build del /Q LLVM-*.exe call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x86 "C:\Program Files\CMake\bin\cmake.exe" -G Ninja -D CMAKE_INSTALL_PREFIX=c:\clang -D CMAKE_BUILD_TYPE=Release .. ninja -v package - -- Masaru Tsuchiyama ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
Re: [cfe-users] cmake error with cmake 3.9.1
Hello This was fixed at https://gitlab.kitware.com/cmake/cmake/merge_requests/1179 It will be released at cmake 3.9.2 Regards. Masaru 2017-08-20 11:22 GMT+09:00 Masaru Tsuchiyama : > Hello > > This was a bug of cmake. > > cmake doesn't create 'rules.ninja' while the build process > even though generated build.ninja has a line "include rules.ninja". > > I can reproduce it with the other project which uses cmake. > > Regards. > Masaru. > > > Masaru Tsuchiyama wrote: > >> Hello >> >> I updated cmake to 3.9.1, then got the following error message on Win10. >> I don't get this error with cmake 3.7.1. >> >> Do you know what is wrong? a bug of cmake? >> >> > "C:\Program Files\CMake\bin\cmake.exe" -G Ninja -D >> CMAKE_INSTALL_PREFIX=c:\clang -D CMAKE_BUILD_TYPE=Release .. >> -- The C compiler identification is MSVC 19.11.25506.0 >> -- The CXX compiler identification is MSVC 19.11.25506.0 >> -- The ASM compiler identification is MSVC >> -- Found assembler: C:/Program Files (x86)/Microsoft Visual >> Studio/2017/Community/VC/Tools/MSVC/14.11.25503/bin/HostX86/x86/cl.exe >> -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual >> Studio/2017/Community/VC/Tools/MSVC/14.11.25503/bin/HostX86/x86/cl.exe >> -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual >> Studio/2017/Community/VC/Tools/MSVC/14.11.25503/bin/HostX86/x86/cl.exe >> -- broken >> CMake Error at C:/Program Files/CMake/share/cmake-3.9/Mo >> dules/CMakeTestCCompiler.cmake:51 (message): >>The C compiler "C:/Program Files (x86)/Microsoft Visual >> >> Studio/2017/Community/VC/Tools/MSVC/14.11.25503/bin/HostX86/x86/cl.exe" >> is >>not able to compile a simple test program. >> >>It fails with the following output: >> >> Change Dir: C:/svnwork/llvm2/build/CMakeFiles/CMakeTmp >> >> >> This is a batch file to compile llvm. >> - >> set ROOTDIR=llvm2 >> set DIR=%~dp0 >> >> cd /d %DIR% >> >> if exist %ROOTDIR% rmdir /s /q %ROOTDIR% >> if exist %ROOTDIR% exit /b 1 >> >> svn cohttp://llvm.org/svn/llvm-project/llvm/trunk%ROOTDIR% >> svn cohttp://llvm.org/svn/llvm-project/cfe/trunk >> %ROOTDIR%\tools\clang >> svn cohttp://llvm.org/svn/llvm-project/lld/trunk %ROOTDIR%\tools\lld >> svn cohttp://llvm.org/svn/llvm-project/polly/trunk >> %ROOTDIR%\tools\polly >> svn cohttp://llvm.org/svn/llvm-project/compiler-rt/trunk >> %ROOTDIR%\projects\compiler-rt >> svn cohttp://llvm.org/svn/llvm-project/libcxx/trunk >> %ROOTDIR%\projects\libcxx >> svn cohttp://llvm.org/svn/llvm-project/libcxxabi/trunk >> %ROOTDIR%\projects\libcxxabi >> >> cd %ROOTDIR% || exit /b 1 >> >> if exist build rmdir /s /q build >> if exist build exit /b 1 >> if not exist build mkdir build >> cd build >> >> del /Q LLVM-*.exe >> >> call "C:\Program Files (x86)\Microsoft Visual >> Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x86 >> "C:\Program Files\CMake\bin\cmake.exe" -G Ninja -D >> CMAKE_INSTALL_PREFIX=c:\clang -D CMAKE_BUILD_TYPE=Release .. >> ninja -v package >> - >> >> >> > > -- > Masaru Tsuchiyama > ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
[cfe-users] package build fails at r324504 or later on VS2017
Hello llvm build fails at r324504 or later. I used the attached file to build. (renamed to .txt) example: clang-build.bat ninja x86 update 324806 This is the tail of the failure log. CPack: Create package using NSIS CPack: Install projects CPack: - Install project: LLVM Creating llvm-ranlib.exe Creating llvm-lib.exe Creating llvm-dlltool.exe Creating clang++.exe Creating clang-cl.exe Creating clang-cpp.exe Creating ../msbuild-bin/cl.exe Creating lld-link.exe Creating ld.lld.exe Creating ld64.lld.exe Creating wasm-ld.exe Creating llvm-readelf.exe CPack: Create package CPack Error: Problem running NSIS command: "C:/Program Files (x86)/NSIS/makensis.exe" "C:/Jenkins/workspace/llvm/build/_CPack_Packages/win32/NSIS/project.nsi" Please check C:/Jenkins/workspace/llvm/build/_CPack_Packages/win32/NSIS/NSISOutput.log for errors CPack Error: Problem compressing the directory CPack Error: Error when generating package: LLVM FAILED: CMakeFiles/package.util cmd.exe /C "cd /D C:\Jenkins\workspace\llvm\build && "C:\Program Files\CMake\bin\cpack.exe" --config ./CPackConfig.cmake" ninja: build stopped: subcommand failed. I confirmed that the build succeeded by reverting r324504 at r324806. Index: cmake/modules/HandleLLVMOptions.cmake === --- cmake/modules/HandleLLVMOptions.cmake (revision 324806) +++ cmake/modules/HandleLLVMOptions.cmake (working copy) @@ -353,12 +353,6 @@ append("/Zc:inline" CMAKE_C_FLAGS CMAKE_CXX_FLAGS) - # Generate PDB even in release for profiling. - if (uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE") -append("/Zi" CMAKE_C_FLAGS CMAKE_CXX_FLAGS) -append("/DEBUG" CMAKE_EXE_LINKER_FLAGS CMAKE_MODULE_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS) - endif (uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE") - # /Zc:strictStrings is incompatible with VS12's (Visual Studio 2013's) # debug mode headers. Instead of only enabling them in VS2013's debug mode, # we'll just enable them for Visual Studio 2015 (VS 14, MSVC_VERSION 1900) @echo off set INITDIR=%CD% set PARAM_BUILDTOOL=%1 if "%PARAM_BUILDTOOL%" == "ninja" ( set BUILDTOOL=%PARAM_BUILDTOOL% set CMAKE_GENERATOR=Ninja set CONFIGURATION=Release ) else if "%PARAM_BUILDTOOL%" == "vs2017" ( set BUILDTOOL=%PARAM_BUILDTOOL% set CMAKE_GENERATOR="Visual Studio 15 2017" ) else ( goto SHOW_HELP ) set PARAM_ARCH=%2 if "%PARAM_ARCH%" == "x86" ( set BUILD_ARCH=%PARAM_ARCH% set PARAM_ARCH=Win32 ) else if "%PARAM_ARCH%" == "x64" ( set BUILD_ARCH=%PARAM_ARCH% set PARAM_ARCH=x64 ) else ( goto SHOW_HELP ) set PARAM_ACTION=%3 if "%PARAM_ACTION%" == "rebuild" ( set BUILD_ACTION=%PARAM_ACTION% ) else if "%PARAM_ACTION%" == "update" ( set BUILD_ACTION=%PARAM_ACTION% ) else ( set BUILD_ACTION=update ) set REVISION=%4 if "%REVISION%" == "" ( set REVISION=HEAD ) set CMAKE=cmake.exe set NINJA=ninja.exe set DEVENV="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.com" set ROOTDIR=%INITDIR%\llvm-%REVISION% if "%CONFIGURATION%" == "" ( set BUILDDIR=%ROOTDIR%\build-%BUILDTOOL%-%BUILD_ARCH% ) else ( set BUILDDIR=%ROOTDIR%\build-%BUILDTOOL%-%BUILD_ARCH%-%CONFIGURATION% ) if exist %ROOTDIR% ( svn update -r %REVISION% %ROOTDIR% ) else ( svn co -r %REVISION%http://llvm.org/svn/llvm-project/llvm/trunk %ROOTDIR% ) if exist %ROOTDIR%\tools\clang ( svn update -r %REVISION% %ROOTDIR%\tools\clang ) else ( svn co -r %REVISION%http://llvm.org/svn/llvm-project/cfe/trunk %ROOTDIR%\tools\clang ) if exist %ROOTDIR%\tools\lld ( svn update -r %REVISION% %ROOTDIR%\tools\lld ) else ( svn co -r %REVISION%http://llvm.org/svn/llvm-project/lld/trunk %ROOTDIR%\tools\lld ) if exist %ROOTDIR%\tools\polly ( svn update -r %REVISION% %ROOTDIR%\tools\polly ) else ( svn co -r %REVISION%http://llvm.org/svn/llvm-project/polly/trunk %ROOTDIR%\tools\polly ) if exist %ROOTDIR%\projects\compiler-rt ( svn update -r %REVISION% %ROOTDIR%\projects\compiler-rt ) else ( svn co -r %REVISION% http://llvm.org/svn/llvm-project/compiler-rt/trunk %ROOTDIR%\projects\compiler-rt ) if exist %ROOTDIR%\projects\libcxx ( svn update -r %REVISION% %ROOTDIR%\projects\libcxx ) else ( svn co -r %REVISION%http://llvm.org/svn/llvm-project/libcxx/trunk %ROOTDIR%\projects\libcxx ) if exist %ROOTDIR%\projects\libcxxabi ( svn update -r %REVISION% %ROOTDIR%\projects\libcxxabi ) else ( svn co -r %REVISION% http://llvm.org/svn/llvm-project/libcxxabi/trunk %ROOTDIR%\projects\libcxxabi ) if "%BUILD_ACTION%" == "rebuild" ( echo rebuild if exist %BUILDDIR% rmdir /s /q %BUILDDIR% if exist %BUILDDIR% rmdir /s /q %BUILDDIR% if exist %BUILDDIR% rmdir /s /q
Re: [cfe-users] package build fails at r324504 or later on VS2017
> Is that a solution to your problem? No. It could be a workaround, but not a solution. I think we need to know the reason why the commit and the option affect the result at least. 2018-02-16 19:05 GMT+09:00 Hans Wennborg : > On Thu, Feb 15, 2018 at 11:43 PM, masaru tsuchiyama > wrote: > > Hi, > > > >> Is there any info about what went wrong in NSISOutput.log? > > > > I attach the log. > > > > This is the last part of the log. > > > > File: "clangStaticAnalyzerCheckers.lib" > > > > Internal compiler error #12345: error mmapping file (2106828838, > 33554432) > > is out of range. > > Note: you may have one or two (large) stale temporary file(s) left in > your > > temporary directory (Generally this only happens on Windows 9x). > > > > I'm using Win10 Pro Japanese and VS2017 Community Japanese. > > The version of NSIS is 3.02.1. > > > >> Maybe you want to add -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON to your build, > >> though I'm not sure that should make any difference to the pdb files. > > > > If I added the option, the build succeeded. > > Is that a solution to your problem? > > > 2018-02-14 23:06 GMT+09:00 Hans Wennborg : > >> > >> +Zach for r324504 > >> > >> On Tue, Feb 13, 2018 at 1:45 PM, masaru tsuchiyama via cfe-users > >> wrote: > >> > Hello > >> > > >> > llvm build fails at r324504 or later. > >> > I used the attached file to build. (renamed to .txt) > >> > > >> > example: > >> >clang-build.bat ninja x86 update 324806 > >> > > >> > This is the tail of the failure log. > >> > > >> > CPack: Create package using NSIS > >> > CPack: Install projects > >> > CPack: - Install project: LLVM > >> > Creating llvm-ranlib.exe > >> > Creating llvm-lib.exe > >> > Creating llvm-dlltool.exe > >> > Creating clang++.exe > >> > Creating clang-cl.exe > >> > Creating clang-cpp.exe > >> > Creating ../msbuild-bin/cl.exe > >> > Creating lld-link.exe > >> > Creating ld.lld.exe > >> > Creating ld64.lld.exe > >> > Creating wasm-ld.exe > >> > Creating llvm-readelf.exe > >> > CPack: Create package > >> > CPack Error: Problem running NSIS command: "C:/Program Files > >> > (x86)/NSIS/makensis.exe" > >> > "C:/Jenkins/workspace/llvm/build/_CPack_Packages/win32/ > NSIS/project.nsi" > >> > Please check > >> > > >> > C:/Jenkins/workspace/llvm/build/_CPack_Packages/win32/ > NSIS/NSISOutput.log > >> > for errors > >> > >> Is there any info about what went wrong in NSISOutput.log? > >> > >> > CPack Error: Problem compressing the directory > >> > CPack Error: Error when generating package: LLVM > >> > FAILED: CMakeFiles/package.util > >> > cmd.exe /C "cd /D C:\Jenkins\workspace\llvm\build && "C:\Program > >> > Files\CMake\bin\cpack.exe" --config ./CPackConfig.cmake" > >> > ninja: build stopped: subcommand failed. > >> > > >> > I confirmed that the build succeeded by reverting r324504 at r324806. > >> > > >> > Index: cmake/modules/HandleLLVMOptions.cmake > >> > === > >> > --- cmake/modules/HandleLLVMOptions.cmake (revision 324806) > >> > +++ cmake/modules/HandleLLVMOptions.cmake (working copy) > >> > @@ -353,12 +353,6 @@ > >> > > >> >append("/Zc:inline" CMAKE_C_FLAGS CMAKE_CXX_FLAGS) > >> > > >> > - # Generate PDB even in release for profiling. > >> > - if (uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE") > >> > -append("/Zi" CMAKE_C_FLAGS CMAKE_CXX_FLAGS) > >> > -append("/DEBUG" CMAKE_EXE_LINKER_FLAGS CMAKE_MODULE_LINKER_FLAGS > >> > CMAKE_SHARED_LINKER_FLAGS) > >> > - endif (uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE") > >> > - > >> > >> This is surprising. I wouldn't expect the PDB files to end up in the > >> package or otherwise affect it. In fact, I tried building a package > >> with the script in utils/release/build_llvm_package.bat at r324504 and > >> it worked fine for me. And I verified there were no pdbs in the > >> package. > >> > >> Maybe you want to add -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON to your build, > >> though I'm not sure that should make any difference to the pdb files. > > > > > ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
Re: [cfe-users] package build fails at r324504 or later on VS2017
It didn't happen at r325456. Did you fix it? Regards. 2018-02-17 5:57 GMT+09:00 masaru tsuchiyama : > > Is that a solution to your problem? > > No. > It could be a workaround, but not a solution. > I think we need to know the reason why the commit and the option affect > the result at least. > > > 2018-02-16 19:05 GMT+09:00 Hans Wennborg : > >> On Thu, Feb 15, 2018 at 11:43 PM, masaru tsuchiyama >> wrote: >> > Hi, >> > >> >> Is there any info about what went wrong in NSISOutput.log? >> > >> > I attach the log. >> > >> > This is the last part of the log. >> > >> > File: "clangStaticAnalyzerCheckers.lib" >> > >> > Internal compiler error #12345: error mmapping file (2106828838, >> 33554432) >> > is out of range. >> > Note: you may have one or two (large) stale temporary file(s) left in >> your >> > temporary directory (Generally this only happens on Windows 9x). >> > >> > I'm using Win10 Pro Japanese and VS2017 Community Japanese. >> > The version of NSIS is 3.02.1. >> > >> >> Maybe you want to add -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON to your build, >> >> though I'm not sure that should make any difference to the pdb files. >> > >> > If I added the option, the build succeeded. >> >> Is that a solution to your problem? >> >> > 2018-02-14 23:06 GMT+09:00 Hans Wennborg : >> >> >> >> +Zach for r324504 >> >> >> >> On Tue, Feb 13, 2018 at 1:45 PM, masaru tsuchiyama via cfe-users >> >> wrote: >> >> > Hello >> >> > >> >> > llvm build fails at r324504 or later. >> >> > I used the attached file to build. (renamed to .txt) >> >> > >> >> > example: >> >> >clang-build.bat ninja x86 update 324806 >> >> > >> >> > This is the tail of the failure log. >> >> > >> >> > CPack: Create package using NSIS >> >> > CPack: Install projects >> >> > CPack: - Install project: LLVM >> >> > Creating llvm-ranlib.exe >> >> > Creating llvm-lib.exe >> >> > Creating llvm-dlltool.exe >> >> > Creating clang++.exe >> >> > Creating clang-cl.exe >> >> > Creating clang-cpp.exe >> >> > Creating ../msbuild-bin/cl.exe >> >> > Creating lld-link.exe >> >> > Creating ld.lld.exe >> >> > Creating ld64.lld.exe >> >> > Creating wasm-ld.exe >> >> > Creating llvm-readelf.exe >> >> > CPack: Create package >> >> > CPack Error: Problem running NSIS command: "C:/Program Files >> >> > (x86)/NSIS/makensis.exe" >> >> > "C:/Jenkins/workspace/llvm/build/_CPack_Packages/win32/NSIS/ >> project.nsi" >> >> > Please check >> >> > >> >> > C:/Jenkins/workspace/llvm/build/_CPack_Packages/win32/NSIS/ >> NSISOutput.log >> >> > for errors >> >> >> >> Is there any info about what went wrong in NSISOutput.log? >> >> >> >> > CPack Error: Problem compressing the directory >> >> > CPack Error: Error when generating package: LLVM >> >> > FAILED: CMakeFiles/package.util >> >> > cmd.exe /C "cd /D C:\Jenkins\workspace\llvm\build && "C:\Program >> >> > Files\CMake\bin\cpack.exe" --config ./CPackConfig.cmake" >> >> > ninja: build stopped: subcommand failed. >> >> > >> >> > I confirmed that the build succeeded by reverting r324504 at r324806. >> >> > >> >> > Index: cmake/modules/HandleLLVMOptions.cmake >> >> > === >> >> > --- cmake/modules/HandleLLVMOptions.cmake (revision 324806) >> >> > +++ cmake/modules/HandleLLVMOptions.cmake (working copy) >> >> > @@ -353,12 +353,6 @@ >> >> > >> >> >append("/Zc:inline" CMAKE_C_FLAGS CMAKE_CXX_FLAGS) >> >> > >> >> > - # Generate PDB even in release for profiling. >> >> > - if (uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE") >> >> > -append("/Zi" CMAKE_C_FLAGS CMAKE_CXX_FLAGS) >> >> > -append("/DEBUG" CMAKE_EXE_LINKER_FLAGS CMAKE_MODULE_LINKER_FLAGS >> >> > CMAKE_SHARED_LINKER_FLAGS) >> >> > - endif (uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE") >> >> > - >> >> >> >> This is surprising. I wouldn't expect the PDB files to end up in the >> >> package or otherwise affect it. In fact, I tried building a package >> >> with the script in utils/release/build_llvm_package.bat at r324504 and >> >> it worked fine for me. And I verified there were no pdbs in the >> >> package. >> >> >> >> Maybe you want to add -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON to your build, >> >> though I'm not sure that should make any difference to the pdb files. >> > >> > >> > > ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
Re: [cfe-users] package build fails at r324504 or later on VS2017
It seems the change of the commit was disabled by default at r325296. Regards. 2018-02-19 19:55 GMT+09:00 Hans Wennborg : > No, I didn't change anything here and I don't think Zach did either. > > On Sun, Feb 18, 2018 at 9:39 AM, masaru tsuchiyama > wrote: > > It didn't happen at r325456. > > Did you fix it? > > > > Regards. > > > > 2018-02-17 5:57 GMT+09:00 masaru tsuchiyama : > >> > >> > Is that a solution to your problem? > >> > >> No. > >> It could be a workaround, but not a solution. > >> I think we need to know the reason why the commit and the option affect > >> the result at least. > >> > >> > >> 2018-02-16 19:05 GMT+09:00 Hans Wennborg : > >>> > >>> On Thu, Feb 15, 2018 at 11:43 PM, masaru tsuchiyama < > m.tma...@gmail.com> > >>> wrote: > >>> > Hi, > >>> > > >>> >> Is there any info about what went wrong in NSISOutput.log? > >>> > > >>> > I attach the log. > >>> > > >>> > This is the last part of the log. > >>> > > >>> > File: "clangStaticAnalyzerCheckers.lib" > >>> > > >>> > Internal compiler error #12345: error mmapping file (2106828838, > >>> > 33554432) > >>> > is out of range. > >>> > Note: you may have one or two (large) stale temporary file(s) left > in > >>> > your > >>> > temporary directory (Generally this only happens on Windows 9x). > >>> > > >>> > I'm using Win10 Pro Japanese and VS2017 Community Japanese. > >>> > The version of NSIS is 3.02.1. > >>> > > >>> >> Maybe you want to add -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON to your > build, > >>> >> though I'm not sure that should make any difference to the pdb > files. > >>> > > >>> > If I added the option, the build succeeded. > >>> > >>> Is that a solution to your problem? > >>> > >>> > 2018-02-14 23:06 GMT+09:00 Hans Wennborg : > >>> >> > >>> >> +Zach for r324504 > >>> >> > >>> >> On Tue, Feb 13, 2018 at 1:45 PM, masaru tsuchiyama via cfe-users > >>> >> wrote: > >>> >> > Hello > >>> >> > > >>> >> > llvm build fails at r324504 or later. > >>> >> > I used the attached file to build. (renamed to .txt) > >>> >> > > >>> >> > example: > >>> >> >clang-build.bat ninja x86 update 324806 > >>> >> > > >>> >> > This is the tail of the failure log. > >>> >> > > >>> >> > CPack: Create package using NSIS > >>> >> > CPack: Install projects > >>> >> > CPack: - Install project: LLVM > >>> >> > Creating llvm-ranlib.exe > >>> >> > Creating llvm-lib.exe > >>> >> > Creating llvm-dlltool.exe > >>> >> > Creating clang++.exe > >>> >> > Creating clang-cl.exe > >>> >> > Creating clang-cpp.exe > >>> >> > Creating ../msbuild-bin/cl.exe > >>> >> > Creating lld-link.exe > >>> >> > Creating ld.lld.exe > >>> >> > Creating ld64.lld.exe > >>> >> > Creating wasm-ld.exe > >>> >> > Creating llvm-readelf.exe > >>> >> > CPack: Create package > >>> >> > CPack Error: Problem running NSIS command: "C:/Program Files > >>> >> > (x86)/NSIS/makensis.exe" > >>> >> > > >>> >> > "C:/Jenkins/workspace/llvm/build/_CPack_Packages/win32/ > NSIS/project.nsi" > >>> >> > Please check > >>> >> > > >>> >> > > >>> >> > C:/Jenkins/workspace/llvm/build/_CPack_Packages/win32/ > NSIS/NSISOutput.log > >>> >> > for errors > >>> >> > >>> >> Is there any info about what went wrong in NSISOutput.log? > >>> >> > >>> >> > CPack Error: Problem compressing the directory > >>> >> > CPack Error: Error when generating package: LLVM > >>> >> > FAILED: CMakeFiles/package.util &g