[PATCH] D25861: Remove the unused POLLY_LINK_LIBS for linking polly into tools

Hongbin Zheng via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 20 18:56:16 PDT 2016


etherzhhb created this revision.
etherzhhb added reviewers: Meinersbur, Polly.
etherzhhb set the repository for this revision to rL LLVM.
Herald added subscribers: mgorny, beanz.

Repository:
  rL LLVM

https://reviews.llvm.org/D25861

Files:
  tools/bugpoint/CMakeLists.txt
  tools/opt/CMakeLists.txt


Index: tools/opt/CMakeLists.txt
===================================================================
--- tools/opt/CMakeLists.txt
+++ tools/opt/CMakeLists.txt
@@ -35,9 +35,4 @@
 
 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)
Index: tools/bugpoint/CMakeLists.txt
===================================================================
--- tools/bugpoint/CMakeLists.txt
+++ tools/bugpoint/CMakeLists.txt
@@ -34,11 +34,6 @@
 
 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)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25861.75386.patch
Type: text/x-patch
Size: 1027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161021/8b03cf4d/attachment.bin>


More information about the llvm-commits mailing list