From ff92e469caefff9f86e5e812c08b9bba582be5d3 Mon Sep 17 00:00:00 2001 From: Hiroshi Inoue Date: Sat, 11 Jan 2020 01:59:59 +0900 Subject: [PATCH] [examples] Add missing dependency in llvm examples To fix build failure with BUILD_SHARED_LIBS=ON --- llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/CMakeLists.txt | 1 + .../Kaleidoscope/BuildingAJIT/Chapter5/Server/CMakeLists.txt | 1 + .../LLJITWithCustomObjectLinkingLayer/CMakeLists.txt | 1 + 3 files changed, 3 insertions(+) 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