From ac11e4cd1461cd71aba063d442f03b7dcbec7f58 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Mon, 8 May 2023 00:56:40 +0200 Subject: [PATCH] fix --- .github/workflows/toolchains/toolchain-arm64.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/toolchains/toolchain-arm64.cmake b/.github/workflows/toolchains/toolchain-arm64.cmake index 261a0ac..439c462 100644 --- a/.github/workflows/toolchains/toolchain-arm64.cmake +++ b/.github/workflows/toolchains/toolchain-arm64.cmake @@ -2,7 +2,7 @@ SET(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_PROCESSOR aarch64) set(triple aarch64-linux-gnu) set(CMAKE_SYSROOT /usr/aarch64-linux-gnu) -set(CMAKE_FIND_ROOT_PATH /usr/aarch64-linux-gnu) +set(CMAKE_FIND_ROOT_PATH /usr/aarch64-linux-gnu /usr/lib/aarch64-linux-gnu /usr/lib/llvm-10/include) set(CMAKE_C_COMPILER /usr/bin/clang-10) set(CMAKE_C_COMPILER_TARGET ${triple}) @@ -26,7 +26,6 @@ SET(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY) # Optionally reduce compiler sanity check when cross-compiling. set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) -include_directories("/usr/lib/llvm-10/include") #include_directories("${CROSS_OPENJDK_PATH}/include/linux")