https://bugs.llvm.org/show_bug.cgi?id=40220
Bug ID: 40220
Summary: libLLVMTestingSupport.so depends on libgtest, when the
latter is not built
Product: new-bugs
Version: 7.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
With 7.0.1 when libgtest is not built, linking fails:
[ 8%] Linking CXX shared library ../../libLLVMTestingSupport.so
[ 8%] Built target LLVMWindowsManifest
[ 8%] Built target FileCheck
/usr/local/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -lgtest
collect2: error: ld returned 1 exit status
make[2]: ***
[lib/Testing/Support/CMakeFiles/LLVMTestingSupport.dir/build.make:85:
lib/libLLVMTestingSupport.so.7] Error 1
make[1]: *** [CMakeFiles/Makefile2:18479:
lib/Testing/Support/CMakeFiles/LLVMTestingSupport.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 8%] Built target not
make: *** [Makefile:152: all] Error 2
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs