From 3e49fdccb246dda0b5a6f1eee539b680ca76176f Mon Sep 17 00:00:00 2001 From: Wilber Date: Mon, 18 Jan 2021 10:11:25 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90Release/2.0=E3=80=91fix=20compile=20er?= =?UTF-8?q?ror=20in=20ARM=20subgraph=20(#30488)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmake/external/lite.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmake/external/lite.cmake b/cmake/external/lite.cmake index 3d9a694c8a..9851acadc5 100644 --- a/cmake/external/lite.cmake +++ b/cmake/external/lite.cmake @@ -132,7 +132,11 @@ if (NOT LITE_SOURCE_DIR OR NOT LITE_BINARY_DIR) endif() if (WITH_ARM) - set(LITE_OUTPUT_BIN_DIR inference_lite_lib.armlinux.armv8) + if(LITE_WITH_XPU) + set(LITE_OUTPUT_BIN_DIR inference_lite_lib.armlinux.armv8.xpu) + else() + set(LITE_OUTPUT_BIN_DIR inference_lite_lib.armlinux.armv8) + endif() else() set(LITE_OUTPUT_BIN_DIR inference_lite_lib) endif() -- GitLab