summaryrefslogtreecommitdiff
path: root/llvm/unittests/tools
diff options
context:
space:
mode:
authorJameson Nash <vtjnash@gmail.com>2021-02-10 13:31:42 -0500
committerJameson Nash <vtjnash@gmail.com>2021-02-10 14:22:55 -0500
commita7db680183825d95fb3315a711c47deabe3ac925 (patch)
treeb4864accafa71ffd63ddc7119940aaab55f3d0bb /llvm/unittests/tools
parent5d960cba34682d0d4e0cd56837131888eb647c62 (diff)
downloadllvm-a7db680183825d95fb3315a711c47deabe3ac925.tar.gz
Renovate CMake files in the `llvm-exegesis` tool.
This attempts to move all tools over to using `add_llvm_library` for better consistency. After doing this, I noticed it ended up as nearly a reimplementation of https://reviews.llvm.org/rL342148, which later got reverted in r342336 (b09a8c9bd9b819741b38071a7ccd95042ef2643a). With ccache and ninja on a large core machine (40), I haven't run into build errors, so I'm hopeful it's better now, though it doesn't seem to be any different / new. Reviewed By: stephenneuendorffer Differential Revision: https://reviews.llvm.org/D90970
Diffstat (limited to 'llvm/unittests/tools')
-rw-r--r--llvm/unittests/tools/llvm-exegesis/ARM/CMakeLists.txt1
-rw-r--r--llvm/unittests/tools/llvm-exegesis/X86/CMakeLists.txt2
2 files changed, 3 insertions, 0 deletions
diff --git a/llvm/unittests/tools/llvm-exegesis/ARM/CMakeLists.txt b/llvm/unittests/tools/llvm-exegesis/ARM/CMakeLists.txt
index 27ecff5f4ae9..d1875fe1d7ca 100644
--- a/llvm/unittests/tools/llvm-exegesis/ARM/CMakeLists.txt
+++ b/llvm/unittests/tools/llvm-exegesis/ARM/CMakeLists.txt
@@ -5,6 +5,7 @@ include_directories(
)
set(LLVM_LINK_COMPONENTS
+ Core
MC
MCParser
Object
diff --git a/llvm/unittests/tools/llvm-exegesis/X86/CMakeLists.txt b/llvm/unittests/tools/llvm-exegesis/X86/CMakeLists.txt
index 52ca6680116c..d5c06500dc8a 100644
--- a/llvm/unittests/tools/llvm-exegesis/X86/CMakeLists.txt
+++ b/llvm/unittests/tools/llvm-exegesis/X86/CMakeLists.txt
@@ -5,6 +5,8 @@ include_directories(
)
set(LLVM_LINK_COMPONENTS
+ Core
+ Codegen
MC
MCParser
Object