summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorserge-sans-paille <sguelton@redhat.com>2020-05-04 08:06:39 +0200
committerTom Stellard <tstellar@redhat.com>2020-06-17 16:57:30 -0700
commit6f71678ecd293c35435f7f3f313bdaf337ed798a (patch)
tree704fa60cc51e7b8a21f2a01d67540fc3f93b778f
parent3ca8b23cf5b9afc4ea05ac0533fbb874c5660e1d (diff)
downloadllvm-6f71678ecd293c35435f7f3f313bdaf337ed798a.tar.gz
Make Polly tests dependencies explicit
Due to libPolly now using the component infrastructure, it no longer carries all dependencies as it used to do. Differential Revision: https://reviews.llvm.org/D79295 (cherry picked from commit 8ceee08de135c4c96980bd750bb5e95348126980)
-rw-r--r--polly/unittests/ScopPassManager/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/polly/unittests/ScopPassManager/CMakeLists.txt b/polly/unittests/ScopPassManager/CMakeLists.txt
index 59c5a4a717a5..ed3bbd6dcef4 100644
--- a/polly/unittests/ScopPassManager/CMakeLists.txt
+++ b/polly/unittests/ScopPassManager/CMakeLists.txt
@@ -1,3 +1,5 @@
+llvm_map_components_to_libnames(llvm_libs Passes Core Analysis)
add_polly_unittest(ScopPassManagerTests
PassManagerTest.cpp
)
+target_link_libraries(ScopPassManagerTests PRIVATE ${llvm_libs})