[llvm] f8e2ab3 - Revert "[cmake] Add dependency on llvm-dwarfdump to llvm-locstats"

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 19 09:17:38 PST 2019


Author: David Spickett
Date: 2019-12-19T17:15:33Z
New Revision: f8e2ab3cd347cb7fb959ea0ece795f4eb347094c

URL: https://github.com/llvm/llvm-project/commit/f8e2ab3cd347cb7fb959ea0ece795f4eb347094c
DIFF: https://github.com/llvm/llvm-project/commit/f8e2ab3cd347cb7fb959ea0ece795f4eb347094c.diff

LOG: Revert "[cmake] Add dependency on llvm-dwarfdump to llvm-locstats"

This reverts commit ba430f503244d1498529d47f31090cdf79b5c231.
Which appears to have caused a failure on the lld-x86_64-ubuntu-fast
buildbot.

Added: 
    

Modified: 
    llvm/utils/llvm-locstats/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/utils/llvm-locstats/CMakeLists.txt b/llvm/utils/llvm-locstats/CMakeLists.txt
index 1dbb9da92e23..d5366f99050f 100644
--- a/llvm/utils/llvm-locstats/CMakeLists.txt
+++ b/llvm/utils/llvm-locstats/CMakeLists.txt
@@ -2,15 +2,11 @@ if (LLVM_INCLUDE_UTILS AND LLVM_INCLUDE_TOOLS)
   add_custom_command(
     OUTPUT ${LLVM_TOOLS_BINARY_DIR}/llvm-locstats
     DEPENDS ${LLVM_MAIN_SRC_DIR}/utils/llvm-locstats/llvm-locstats.py
-    DEPENDS llvm-dwarfdump
     COMMAND ${CMAKE_COMMAND} -E copy ${LLVM_MAIN_SRC_DIR}/utils/llvm-locstats/llvm-locstats.py ${LLVM_TOOLS_BINARY_DIR}/llvm-locstats
     COMMENT "Copying llvm-locstats into ${LLVM_TOOLS_BINARY_DIR}"
     )
   add_custom_target(llvm-locstats ALL
     DEPENDS ${LLVM_TOOLS_BINARY_DIR}/llvm-locstats
     )
-  if (NOT LLVM_BUILD_TOOLS)
-    set_target_properties(llvm-locstats PROPERTIES EXCLUDE_FROM_ALL ON)
-  endif()
   set_target_properties(llvm-locstats PROPERTIES FOLDER "Tools")
 endif()


        


More information about the llvm-commits mailing list