1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Revert r343473 "Move llvm util dependencies from clang-tools-extra to add_lit_target."

Summary:
It will cause test tools `FileCheck`, `count`, `not` being built blindly, these
dependencies should move back to clang-tools-extra.

Reviewers: mgorny

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D54797

llvm-svn: 347448
This commit is contained in:
Haojian Wu 2018-11-22 10:14:24 +00:00
parent 41fbe9382b
commit 0ea34b9a2d

View File

@ -1374,16 +1374,6 @@ function(add_lit_target target comment)
message(STATUS "${target} does nothing.")
endif()
# Add lit test dependencies.
set(llvm_utils_deps
FileCheck count not
)
foreach(dep ${llvm_utils_deps})
if (TARGET ${dep})
add_dependencies(${target} ${dep})
endif()
endforeach()
if (ARG_DEPENDS)
add_dependencies(${target} ${ARG_DEPENDS})
endif()