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 + llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/CMakeLists.txt | 1 + .../LLJITExamples/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 d5b832b..48d7299 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 ef0240c..c7252ae 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 2277a8e..6034fc6 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 -- 2.7.4