[Lldb-commits] [PATCH] D68537: Do not install lit-cpuid

Sylvestre Ledru via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sat Oct 5 00:22:49 PDT 2019


sylvestre.ledru created this revision.
sylvestre.ledru added a reviewer: mgorny.
Herald added a subscriber: delcypher.

AFAIK, lit-cpuid is used by the tests. 
Installing it causes LLVMExports*.cmake files to depend
on this program.
It causes some serious packaging issues as it would means
that llvm-dev depends on lldb.

See:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=941082
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=941306

See also https://bugs.llvm.org/show_bug.cgi?id=43035
for a similar issue caused by
https://reviews.llvm.org/D56606


https://reviews.llvm.org/D68537

Files:
  utils/lit-cpuid/CMakeLists.txt


Index: utils/lit-cpuid/CMakeLists.txt
===================================================================
--- utils/lit-cpuid/CMakeLists.txt
+++ utils/lit-cpuid/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_llvm_utility(lit-cpuid
+add_lldb_executable(lit-cpuid
   lit-cpuid.cpp
   )
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68537.223364.patch
Type: text/x-patch
Size: 275 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191005/eaf05a8d/attachment.bin>


More information about the lldb-commits mailing list