[PATCH] D85281: [Polly] Support linking ScopPassManager against LLVM dylib
Michał Górny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 6 21:47:16 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG96b02808afa7: [Polly] Support linking ScopPassManager against LLVM dylib (authored by mgorny).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85281/new/
https://reviews.llvm.org/D85281
Files:
polly/unittests/ScopPassManager/CMakeLists.txt
Index: polly/unittests/ScopPassManager/CMakeLists.txt
===================================================================
--- polly/unittests/ScopPassManager/CMakeLists.txt
+++ polly/unittests/ScopPassManager/CMakeLists.txt
@@ -1,5 +1,7 @@
-llvm_map_components_to_libnames(llvm_libs Passes Core Analysis)
add_polly_unittest(ScopPassManagerTests
PassManagerTest.cpp
)
-target_link_libraries(ScopPassManagerTests PRIVATE ${llvm_libs})
+if (NOT LLVM_LINK_LLVM_DYLIB)
+ llvm_map_components_to_libnames(llvm_libs Passes Core Analysis)
+ target_link_libraries(ScopPassManagerTests PRIVATE ${llvm_libs})
+endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85281.283808.patch
Type: text/x-patch
Size: 615 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200807/b8b299e7/attachment.bin>
More information about the llvm-commits
mailing list