From f899290b1fc1c94b98acd69430fb5696fec4ea39 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Fri, 8 Dec 2023 19:08:52 +0800 Subject: [PATCH] fix use absolute path --- toolchains/hisiv500.toolchain.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolchains/hisiv500.toolchain.cmake b/toolchains/hisiv500.toolchain.cmake index 277c3d3..2f676a8 100644 --- a/toolchains/hisiv500.toolchain.cmake +++ b/toolchains/hisiv500.toolchain.cmake @@ -3,8 +3,8 @@ set(CMAKE_CROSSCOMPILING TRUE) set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_PROCESSOR arm) # when hislicon SDK was installed, toolchain was installed in the path as below: -set(CMAKE_C_COMPILER "/opt/hisi-linux/x86-arm/arm-hisiv500-linux/target/bin/arm-hisiv500-linux-gcc") -set(CMAKE_CXX_COMPILER "/opt/hisi-linux/x86-arm/arm-hisiv500-linux/target/bin/arm-hisiv500-linux-g++") +set(CMAKE_C_COMPILER "/opt/hisi-linux/x86-arm/arm-hisiv500-linux/bin/arm-hisiv500-linux-uclibcgnueabi-gcc") +set(CMAKE_CXX_COMPILER "/opt/hisi-linux/x86-arm/arm-hisiv500-linux/bin/arm-hisiv500-linux-uclibcgnueabi-g++") set(CMAKE_FIND_ROOT_PATH "/opt/hisi-linux/x86-arm/arm-hisiv500-linux") # set searching rules for cross-compiler