[llvm-bugs] [Bug 33495] New: llvm-config --system-libs is broken because "testingsupport" component lib is not installed
llvm-bugs at lists.llvm.org
Sat Jun 17 11:55:02 PDT 2017
Bug ID: 33495
Summary: llvm-config --system-libs is broken because
"testingsupport" component lib is not installed
OS: MacOS X
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
I build LLVM with:
cmake -G Ninja -DCMAKE_INSTALL_PREFIX="/Users/johan/llvm/trunk/installrelease"
-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:
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...
More information about the llvm-bugs