Closed Kickbub closed 3 years ago
Host Environment
To Reproduce .\vcpkg\vcpkg install llvm:x64-windows
.\vcpkg\vcpkg install llvm:x64-windows
Failure logs
Computing installation plan... The following packages will be built and installed: llvm[clang,compiler-rt,core,default-options,default-targets,disable-abi-breaking-checks,disable-assertions,disable-clang-static-analyzer,enable-bindings,enable-terminfo,enable-threads,enable-zlib,lld,target-x86,tools]:x64-windows -> 12.0.1 * zlib[core]:x64-windows -> 1.2.11#13 Additional packages (*) will be modified to complete this operation. Detecting compiler hash for triplet x64-windows... Restored 0 packages from C:\Users\Chris Yam\AppData\Local\vcpkg\archives in 205.4 us. Use --debug to see more details. Starting package 1/2: zlib:x64-windows Building package zlib[core]:x64-windows... -- Downloading https://www.zlib.net/zlib-1.2.11.tar.gz;https://downloads.sourceforge.net/project/libpng/zlib/1.2.11/zlib-1.2.11.tar.gz -> zlib1211.tar.gz... -- Extracting source C:/vcpkg/downloads/zlib1211.tar.gz -- Applying patch cmake_dont_build_more_than_needed.patch -- Applying patch 0001-Prevent-invalid-inclusions-when-HAVE_-is-set-to-0.patch -- Applying patch add_debug_postfix_on_mingw.patch -- Applying patch 0002-android-build-mingw.patch -- Using source at C:/vcpkg/buildtrees/zlib/src/1.2.11-e9a093319e.clean -- Configuring x64-windows -- Building x64-windows-dbg -- Building x64-windows-rel -- Installing: C:/vcpkg/packages/zlib_x64-windows/share/zlib/vcpkg-cmake-wrapper.cmake -- Fixing pkgconfig file: C:/vcpkg/packages/zlib_x64-windows/lib/pkgconfig/zlib.pc -- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst -> msys-mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst... -- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst -> msys-mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst... -- Using msys root at C:/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8 -- Fixing pkgconfig file: C:/vcpkg/packages/zlib_x64-windows/debug/lib/pkgconfig/zlib.pc -- Installing: C:/vcpkg/packages/zlib_x64-windows/share/zlib/copyright -- Performing post-build validation -- Performing post-build validation done Stored binary cache: C:\Users\Chris Yam\AppData\Local\vcpkg\archives\8b\8b0999f460e0ba1e934cd930fde3f5d087fde388c5ff0be61043f82a2d0a400a.zip Installing package zlib[core]:x64-windows... Elapsed time for package zlib:x64-windows: 8.841 s Starting package 2/2: llvm:x64-windows Building package llvm[clang,compiler-rt,core,default-options,default-targets,disable-abi-breaking-checks,disable-assertions,disable-clang-static-analyzer,enable-bindings,enable-terminfo,enable-threads,enable-zlib,lld,target-x86,tools]:x64-windows... -- Note: llvm only supports static library linkage. Building static library. -- Downloading https://github.com/llvm/llvm-project/archive/llvmorg-12.0.1.tar.gz -> llvm-llvm-project-llvmorg-12.0.1.tar.gz... -- Extracting source C:/vcpkg/downloads/llvm-llvm-project-llvmorg-12.0.1.tar.gz -- Applying patch 0002-fix-install-paths.patch -- Applying patch 0003-fix-openmp-debug.patch -- Applying patch 0004-fix-dr-1734.patch -- Applying patch 0005-fix-tools-path.patch -- Applying patch 0007-fix-compiler-rt-install-path.patch -- Applying patch 0008-fix-libcxx-install.patch -- Applying patch 0009-fix-tools-install-path.patch -- Applying patch 0010-fix-libffi.patch -- Applying patch 0011-fix-libxml2.patch -- Using source at C:/vcpkg/buildtrees/llvm/src/org-12.0.1-989a8c7e92.clean -- Configuring x64-windows -- Building x64-windows-dbg CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:155 (message): Command failed: C:/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j13 Working Directory: C:/vcpkg/buildtrees/llvm/x64-windows-dbg See logs for more information: C:\vcpkg\buildtrees\llvm\install-x64-windows-dbg-out.log Call Stack (most recent call first): scripts/cmake/vcpkg_build_cmake.cmake:104 (vcpkg_execute_build_process) scripts/cmake/vcpkg_install_cmake.cmake:44 (vcpkg_build_cmake) ports/llvm/portfile.cmake:264 (vcpkg_install_cmake) scripts/ports.cmake:142 (include) Error: Building package llvm:x64-windows failed with: BUILD_FAILED
Additional context I'm not sure how to continue
Fixed by adding ATL support for Build Tools.
Host Environment
To Reproduce
.\vcpkg\vcpkg install llvm:x64-windows
Failure logs
Additional context I'm not sure how to continue