[polly] 8ceee08 - Make Polly tests dependencies explicit
via llvm-commits
llvm-commits at lists.llvm.org
Sun May 3 23:07:33 PDT 2020
Author: serge-sans-paille
Date: 2020-05-04T08:06:39+02:00
New Revision: 8ceee08de135c4c96980bd750bb5e95348126980
URL: https://github.com/llvm/llvm-project/commit/8ceee08de135c4c96980bd750bb5e95348126980
DIFF: https://github.com/llvm/llvm-project/commit/8ceee08de135c4c96980bd750bb5e95348126980.diff
LOG: 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
Added:
Modified:
polly/unittests/ScopPassManager/CMakeLists.txt
Removed:
################################################################################
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})
More information about the llvm-commits
mailing list