[llvm] r285514 - [Polly] Remove the unused POLLY_LINK_LIBS for linking polly into

Hongbin Zheng via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 29 23:07:59 PDT 2016


Author: ether
Date: Sun Oct 30 01:07:59 2016
New Revision: 285514

URL: http://llvm.org/viewvc/llvm-project?rev=285514&view=rev
Log:
    [Polly] Remove the unused POLLY_LINK_LIBS for linking polly into
tools

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

Modified:
    llvm/trunk/tools/bugpoint/CMakeLists.txt
    llvm/trunk/tools/opt/CMakeLists.txt

Modified: llvm/trunk/tools/bugpoint/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/bugpoint/CMakeLists.txt?rev=285514&r1=285513&r2=285514&view=diff
==============================================================================
--- llvm/trunk/tools/bugpoint/CMakeLists.txt (original)
+++ llvm/trunk/tools/bugpoint/CMakeLists.txt Sun Oct 30 01:07:59 2016
@@ -34,11 +34,6 @@ export_executable_symbols(bugpoint)
 
 if(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)
   target_link_libraries(bugpoint Polly)
-  if(POLLY_LINK_LIBS)
-    foreach(lib ${POLLY_LINK_LIBS})
-      target_link_libraries(bugpoint ${lib})
-    endforeach(lib)
-  endif(POLLY_LINK_LIBS)
   # Ensure LLVMTarget can resolve dependences in Polly.
   target_link_libraries(bugpoint LLVMTarget)
 endif(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)

Modified: llvm/trunk/tools/opt/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/opt/CMakeLists.txt?rev=285514&r1=285513&r2=285514&view=diff
==============================================================================
--- llvm/trunk/tools/opt/CMakeLists.txt (original)
+++ llvm/trunk/tools/opt/CMakeLists.txt Sun Oct 30 01:07:59 2016
@@ -35,9 +35,4 @@ export_executable_symbols(opt)
 
 if(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)
   target_link_libraries(opt Polly)
-  if(POLLY_LINK_LIBS)
-    foreach(lib ${POLLY_LINK_LIBS})
-      target_link_libraries(opt ${lib})
-    endforeach(lib)
-  endif(POLLY_LINK_LIBS)
 endif(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)




More information about the llvm-commits mailing list