[llvm] r241608 - Fix the -DBUILD_SHARED_LIBS=ON build.

Rafael Espindola rafael.espindola at gmail.com
Tue Jul 7 10:48:00 PDT 2015


Author: rafael
Date: Tue Jul  7 12:48:00 2015
New Revision: 241608

URL: http://llvm.org/viewvc/llvm-project?rev=241608&view=rev
Log:
Fix the -DBUILD_SHARED_LIBS=ON build.

Modified:
    llvm/trunk/lib/ExecutionEngine/IntelJITEvents/CMakeLists.txt
    llvm/trunk/lib/ExecutionEngine/IntelJITEvents/LLVMBuild.txt
    llvm/trunk/lib/ExecutionEngine/OProfileJIT/LLVMBuild.txt
    llvm/trunk/tools/llvm-jitlistener/CMakeLists.txt

Modified: llvm/trunk/lib/ExecutionEngine/IntelJITEvents/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/IntelJITEvents/CMakeLists.txt?rev=241608&r1=241607&r2=241608&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/IntelJITEvents/CMakeLists.txt (original)
+++ llvm/trunk/lib/ExecutionEngine/IntelJITEvents/CMakeLists.txt Tue Jul  7 12:48:00 2015
@@ -3,4 +3,6 @@ include_directories( ${CMAKE_CURRENT_SOU
 add_llvm_library(LLVMIntelJITEvents
   IntelJITEventListener.cpp
   jitprofiling.c
-  )
+
+  LINK_LIBS pthread ${CMAKE_DL_LIBS}
+)

Modified: llvm/trunk/lib/ExecutionEngine/IntelJITEvents/LLVMBuild.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/IntelJITEvents/LLVMBuild.txt?rev=241608&r1=241607&r2=241608&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/IntelJITEvents/LLVMBuild.txt (original)
+++ llvm/trunk/lib/ExecutionEngine/IntelJITEvents/LLVMBuild.txt Tue Jul  7 12:48:00 2015
@@ -21,4 +21,4 @@
 type = OptionalLibrary
 name = IntelJITEvents
 parent = ExecutionEngine
-required_libraries = Core DebugInfoDWARF Support
+required_libraries = Core DebugInfoDWARF Support Object ExecutionEngine

Modified: llvm/trunk/lib/ExecutionEngine/OProfileJIT/LLVMBuild.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/OProfileJIT/LLVMBuild.txt?rev=241608&r1=241607&r2=241608&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/OProfileJIT/LLVMBuild.txt (original)
+++ llvm/trunk/lib/ExecutionEngine/OProfileJIT/LLVMBuild.txt Tue Jul  7 12:48:00 2015
@@ -21,3 +21,4 @@
 type = OptionalLibrary
 name = OProfileJIT
 parent = ExecutionEngine
+required_libraries = Support Object ExecutionEngine

Modified: llvm/trunk/tools/llvm-jitlistener/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-jitlistener/CMakeLists.txt?rev=241608&r1=241607&r2=241608&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-jitlistener/CMakeLists.txt (original)
+++ llvm/trunk/tools/llvm-jitlistener/CMakeLists.txt Tue Jul  7 12:48:00 2015
@@ -14,6 +14,10 @@ set(LLVM_LINK_COMPONENTS
   nativecodegen
   object
   selectiondag
+  Support
+  ExecutionEngine
+  RuntimeDyld
+  Core
   )
 
 add_llvm_tool(llvm-jitlistener





More information about the llvm-commits mailing list