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: unassignedb...@nondot.org
Reporter: jbc.enge...@gmail.com
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs