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 install failure #16222

Closed
TheRealJokerMan opened this issue Feb 14, 2021 · 0 comments · Fixed by #16232
Closed

LLVM install failure #16222

TheRealJokerMan opened this issue Feb 14, 2021 · 0 comments · Fixed by #16232
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@TheRealJokerMan
Copy link
Contributor

TheRealJokerMan commented Feb 14, 2021

Describe the bug
An issue installing LLVM on Windows.

Environment

  • OS: Windows 20
  • Compiler: VS2019

To Reproduce
Steps to reproduce the behavior:

  1. ./vcpkg iinstall llvm[core]:x64-windows
  2. See error

Failure logs
Starting package 1/1: llvm:x64-windows
Building package llvm[core]:x64-windows...
-- Note: llvm only supports static library linkage. Building static library.
-- Using cached D:/Workspace/vcpkg/downloads/llvm-llvm-project-llvmorg-11.0.0.tar.gz
-- Cleaning sources at D:/Workspace/vcpkg/buildtrees/llvm/src/org-11.0.0-9a84d27ce8.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/Workspace/vcpkg/downloads/llvm-llvm-project-llvmorg-11.0.0.tar.gz
-- Applying patch 0001-add-msvc-options.patch
-- 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 0006-workaround-msvc-bug.patch
-- Using source at D:/Workspace/vcpkg/buildtrees/llvm/src/org-11.0.0-9a84d27ce8.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: D:/Workspace/vcpkg/packages/llvm_x64-windows/share/llvm/copyright
CMake Error at scripts/cmake/vcpkg_copy_tools.cmake:36 (message):
TOOL_NAMES must be specified.
Call Stack (most recent call first):
ports/llvm/portfile.cmake:239 (vcpkg_copy_tools)
scripts/ports.cmake:131 (include)

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-768d8f95c9e752603d2c5901c7a7c7fbdb08af35

@PhoebeHui PhoebeHui assigned PhoebeHui and unassigned NancyLi1013 Feb 18, 2021
@PhoebeHui PhoebeHui added the category:port-bug The issue is with a library, which is something the port should already support label Feb 18, 2021
strega-nil pushed a commit that referenced this issue Apr 13, 2021
* fix issue #16215

* add more projects and fix issue #16222

* add version

* exclude libc from default projects

* remove libc, add fland to default projects

* update to v11.1.0

* fix compiler-rt install path

* fix SHA for version 11.1.0

* fix libc++ install

* re-fix libc++ install

* fix pstl install

* fix flang's license file name

* install tools in tools/llvm, fix file names

* revert bin directory for libraries

* don't create clang sub-directory in llvm/tools

* overwrite version

* copy tool dependencies

* overwrite version

* remove vcpkg_copy_tools call

* overwrite version

* restore default features

* overwrite version

* overwrite version

* convert manifest to json

* install usage files

* overwrite version

* remove feature `default-projects`

* modernize CMake in usage files

* overwrite version

* update ordering

* override version
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.

3 participants