Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[llvm:x64-windows] build failure #16894

Closed
haikunzhang95 opened this issue Mar 26, 2021 · 4 comments · Fixed by #16232
Closed

[llvm:x64-windows] build failure #16894

haikunzhang95 opened this issue Mar 26, 2021 · 4 comments · Fixed by #16232
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@haikunzhang95
Copy link

Host Environment

  • OS: windows 10 x64
  • Compiler: revision

To Reproduce
Steps to reproduce the behavior:
.\vcpkg install llvm[target-all,clang-tools-extra]:x64-windows

Failure logs
Error: Building package llvm:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: llvm:x64-windows
Vcpkg version: 2021-01-13-d67989bce1043b98092ac45996a8230a059a2d7e

Additional context
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:146 (message):
Command failed: D:/vcpkg/downloads/tools/cmake-3.19.2-windows/cmake-3.19.2-win32-x86/bin/cmake.exe --build . --config Debug --target install -- -v -j13
Working Directory: D:/vcpkg/buildtrees/llvm/x64-windows-dbg
See logs for more information:
D:\vcpkg\buildtrees\llvm\install-x64-windows-dbg-out.log

@haikunzhang95
Copy link
Author

My platform is: Windows 10 x64. Follow the "Building Halide with CMake", I install ''libpng:x64-windows'', '' libjpeg-turbo:x64-windows'', and '' llvm[target-all,clang-tools-extra]:x64-windows'' respectively. I successfully installed the first two, but there was a problem installing the last package. When the Windows PowerShell display“--Building x64-windows-dbg”, the cursor keeps blinking, and notning happened. I waited for several hours and did not see the message of successful installation. So, what should I do? What is the possible reason?

@PhoebeHui
Copy link
Contributor

@haikunzhang95, could you please try if #16232 works for you?

@PhoebeHui PhoebeHui added the category:question This issue is a question label Mar 26, 2021
@yurybura
Copy link
Contributor

yurybura commented Apr 2, 2021

@haikunzhang95 @PhoebeHui
I've tested your install command with #16232: .\vcpkg install llvm[target-all,clang-tools-extra]:x64-windows.
The build has succeeded, but build directory takes ~157 GB on disk.
In default build not all targets are enabled to reduce used disk space.

@haikunzhang95
Copy link
Author

@yurybura Thank you for your reply. Using such installation commands (.\vcpkg install llvm[target-all,clang-tools-extra]:x64-windows) takes too much time and takes up more disk space. I think the reason for the above error is that my network environment is too bad, and I've solved this problem now. Thank you again!

@JackBoosY JackBoosY linked a pull request Apr 5, 2021 that will close this issue
@JackBoosY JackBoosY added category:port-bug The issue is with a library, which is something the port should already support and removed category:question This issue is a question labels Apr 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants