[llvm-branch-commits] [polly] 6f71678 - Make Polly tests dependencies explicit

Tom Stellard via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jun 17 17:36:13 PDT 2020


Author: serge-sans-paille
Date: 2020-06-17T16:57:30-07:00
New Revision: 6f71678ecd293c35435f7f3f313bdaf337ed798a

URL: https://github.com/llvm/llvm-project/commit/6f71678ecd293c35435f7f3f313bdaf337ed798a
DIFF: https://github.com/llvm/llvm-project/commit/6f71678ecd293c35435f7f3f313bdaf337ed798a.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

(cherry picked from commit 8ceee08de135c4c96980bd750bb5e95348126980)

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-branch-commits mailing list