[cfe-users] Builidng Clang and LLVM

Navid Mohaghegh via cfe-users cfe-users at lists.llvm.org
Mon Apr 6 12:06:44 PDT 2020


Greetings,

I have the below issue on my clang llvm build (build was successful):

/opt/llvm/build/install/bin/llvm-config --ldflags --libs --system-libs
-L/opt/llvm/build/Release/lib
llvm-config: error: component libraries and shared library

llvm-config: error: missing: /opt/llvm/build/Release/lib/libgtest.a
llvm-config: error: missing: /opt/llvm/build/Release/lib/libgtest_main.a
llvm-config: error: missing:
/opt/llvm/build/Release/lib/libLLVMTestingSupport.a

====

The build was based on latest git master branch of llvm:


cmake \
 -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;compiler-rt" \
 -DCMAKE_BUILD_TYPE=Release \
 -DCMAKE_INSTALL_PREFIX=./install \
 -DLLVM_ROOT_DIR=./install \
 -G "Unix Makefiles" ../llvm

make -j 47

====

Am I missing any build setting aside "clang;clang-tools-extra;compiler-rt”

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20200406/1c39d8ec/attachment.html>


More information about the cfe-users mailing list