From 660d9ff21385a5a378c62338df8d64368da7dac1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=98=8E=E5=86=AC?= <78149749+winter-wang@users.noreply.github.com> Date: Wed, 15 Dec 2021 11:19:38 +0800 Subject: [PATCH] [infrt] fix the infrt compile error. test=develop (#38124) --- cmake/third_party.cmake | 2 +- paddle/infrt/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/third_party.cmake b/cmake/third_party.cmake index 71e18561474..5c614757379 100644 --- a/cmake/third_party.cmake +++ b/cmake/third_party.cmake @@ -393,7 +393,7 @@ endif (WIN32) if (WITH_INFRT) include(external/llvm) - list(APPEND third_party_deps external_llvm) + list(APPEND third_party_deps ${llvm_libs}) endif() if (WITH_IPU) diff --git a/paddle/infrt/CMakeLists.txt b/paddle/infrt/CMakeLists.txt index b8f6f4738d3..d24c632a2c8 100644 --- a/paddle/infrt/CMakeLists.txt +++ b/paddle/infrt/CMakeLists.txt @@ -75,5 +75,5 @@ set(infrt_mlir_incs ) message(STATUS "infrt srcs:\n${infrt_src}") -cc_library(infrt SRCS ${infrt_src} DEPS glog ${mlir_libs} paddle_framework_proto) +cc_library(infrt SRCS ${infrt_src} DEPS glog boost ${mlir_libs} paddle_framework_proto) add_dependencies(infrt ${infrt_mlir_incs}) -- GitLab