[llvm] ff92e46 - [examples] Add missing dependency in llvm examples
Hiroshi Inoue via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 10 09:33:31 PST 2020
Author: Hiroshi Inoue
Date: 2020-01-11T02:32:39+09:00
New Revision: ff92e469caefff9f86e5e812c08b9bba582be5d3
URL: https://github.com/llvm/llvm-project/commit/ff92e469caefff9f86e5e812c08b9bba582be5d3
DIFF: https://github.com/llvm/llvm-project/commit/ff92e469caefff9f86e5e812c08b9bba582be5d3.diff
LOG: [examples] Add missing dependency in llvm examples
To fix build failure with BUILD_SHARED_LIBS=ON
Added:
Modified:
llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/CMakeLists.txt
llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/CMakeLists.txt
llvm/examples/LLJITExamples/LLJITWithCustomObjectLinkingLayer/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/CMakeLists.txt b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/CMakeLists.txt
index d5b832b49550..48d729966364 100644
--- a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/CMakeLists.txt
+++ b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/CMakeLists.txt
@@ -6,6 +6,7 @@ set(LLVM_LINK_COMPONENTS
ExecutionEngine
InstCombine
Object
+ OrcError
OrcJIT
RuntimeDyld
ScalarOpts
diff --git a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/CMakeLists.txt b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/CMakeLists.txt
index ef0240c0ca77..c7252ae14c6a 100644
--- a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/CMakeLists.txt
+++ b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/CMakeLists.txt
@@ -4,6 +4,7 @@ set(LLVM_LINK_COMPONENTS
ExecutionEngine
InstCombine
Object
+ OrcError
OrcJIT
RuntimeDyld
ScalarOpts
diff --git a/llvm/examples/LLJITExamples/LLJITWithCustomObjectLinkingLayer/CMakeLists.txt b/llvm/examples/LLJITExamples/LLJITWithCustomObjectLinkingLayer/CMakeLists.txt
index 2277a8e51ec8..6034fc679112 100644
--- a/llvm/examples/LLJITExamples/LLJITWithCustomObjectLinkingLayer/CMakeLists.txt
+++ b/llvm/examples/LLJITExamples/LLJITWithCustomObjectLinkingLayer/CMakeLists.txt
@@ -1,6 +1,7 @@
set(LLVM_LINK_COMPONENTS
Core
IRReader
+ JITLink
OrcJIT
Support
nativecodegen
More information about the llvm-commits
mailing list