[llvm-bugs] [Bug 33495] New: llvm-config --system-libs is broken because "testingsupport" component lib is not installed
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Jun 17 11:55:02 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=33495
Bug ID: 33495
Summary: llvm-config --system-libs is broken because
"testingsupport" component lib is not installed
Product: tools
Version: trunk
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: llvm-config
Assignee: unassignedbugs at nondot.org
Reporter: jbc.engelen at gmail.com
CC: llvm-bugs at lists.llvm.org
This bug was introduced recently and makes it impossible to build LLVM and use
it in our project (LDC) (without copying files from the buildtree to the
installtree manually).
I build LLVM with:
cmake -G Ninja -DCMAKE_INSTALL_PREFIX="/Users/johan/llvm/trunk/installrelease"
-DLLVM_TARGETS_TO_BUILD="AArch64;AMDGPU;ARM;NVPTX;X86"
-DCMAKE_BUILD_TYPE=Release -DLLVM_APPEND_VC_REV=ON -DLLVM_INSTALL_UTILS=ON ..
(in a build folder inside the source tree)
"llvm-config --components" reports "testingsupport", but
libLLVMTestingSupport.a is not installed.
And then with --system-libs I get the error:
> ./llvm-config --system-libs
llvm-config: error: component libraries and shared library
llvm-config: error: missing:
/Users/johan/llvm/install/lib/libLLVMTestingSupport.a
Copying libLLVMTestingSupport.a from the build tree to the install lib folder
"fixes" the problem.
I think the root problem is that somehow "testingsupport" has leaked into
"llvm-config --components" recently. (it's not there in llvm40)
Thanks a lot for fixing this (or telling me what I do wrong).
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170617/95723f52/attachment.html>
More information about the llvm-bugs
mailing list