Skip to content

Commit

Permalink
updated onnxruntime-linux-aarch64.cmake so that libonnxruntime.so can…
Browse files Browse the repository at this point in the history
… be found for specific aarch64 cross-compilation environments (#1436)

Co-authored-by: xiao <[email protected]>
  • Loading branch information
shawl336 and xiao authored Oct 16, 2024
1 parent 593b967 commit 471cbd8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cmake/onnxruntime-linux-aarch64.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,7 @@ if(NOT onnxruntime_POPULATED)
endif()
message(STATUS "onnxruntime is downloaded to ${onnxruntime_SOURCE_DIR}")

find_library(location_onnxruntime onnxruntime
PATHS
"${onnxruntime_SOURCE_DIR}/lib"
NO_CMAKE_SYSTEM_PATH
)
set(location_onnxruntime "${onnxruntime_SOURCE_DIR}/lib/libonnxruntime.so")

message(STATUS "location_onnxruntime: ${location_onnxruntime}")

Expand Down

0 comments on commit 471cbd8

Please sign in to comment.