[llvm] r339903 - Revert "unittests: Don't install TestPlugin.so"
Tom Stellard via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 16 10:15:03 PDT 2018
Author: tstellar
Date: Thu Aug 16 10:15:03 2018
New Revision: 339903
URL: http://llvm.org/viewvc/llvm-project?rev=339903&view=rev
Log:
Revert "unittests: Don't install TestPlugin.so"
This reverts commit r339897.
This breaks the build on Windows and platforms where loadable modules
aren't supported.
Modified:
llvm/trunk/unittests/Passes/CMakeLists.txt
Modified: llvm/trunk/unittests/Passes/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Passes/CMakeLists.txt?rev=339903&r1=339902&r2=339903&view=diff
==============================================================================
--- llvm/trunk/unittests/Passes/CMakeLists.txt (original)
+++ llvm/trunk/unittests/Passes/CMakeLists.txt Thu Aug 16 10:15:03 2018
@@ -14,7 +14,7 @@ add_llvm_unittest(PluginsTests
export_executable_symbols(PluginsTests)
set(LLVM_LINK_COMPONENTS)
-add_llvm_library(TestPlugin MODULE BUILDTREE_ONLY
+add_llvm_loadable_module(TestPlugin
TestPlugin.cpp
)
More information about the llvm-commits
mailing list