Update onnxruntime from v1.18.0 to v1.18.1 (#1107)
This commit is contained in:
@@ -13,18 +13,18 @@ if(BUILD_SHARED_LIBS)
|
||||
message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}")
|
||||
endif()
|
||||
|
||||
set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-osx-universal2-static_lib-1.18.0.zip")
|
||||
set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-osx-universal2-static_lib-1.18.0.zip")
|
||||
set(onnxruntime_HASH "SHA256=a36c250ef90b15467fc126644825b2c4b7983f1f7c718051563f990606ab28f5")
|
||||
set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-osx-universal2-static_lib-1.18.1.zip")
|
||||
set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-osx-universal2-static_lib-1.18.1.zip")
|
||||
set(onnxruntime_HASH "SHA256=b9fd4c1c31e53a2d19bc21aa43dddc241076d7c4208137057b3728af10680d47")
|
||||
|
||||
# If you don't have access to the Internet,
|
||||
# please download onnxruntime to one of the following locations.
|
||||
# You can add more if you want.
|
||||
set(possible_file_locations
|
||||
$ENV{HOME}/Downloads/onnxruntime-osx-universal2-static_lib-1.18.0.zip
|
||||
${CMAKE_SOURCE_DIR}/onnxruntime-osx-universal2-static_lib-1.18.0.zip
|
||||
${CMAKE_BINARY_DIR}/onnxruntime-osx-universal2-static_lib-1.18.0.zip
|
||||
/tmp/onnxruntime-osx-universal2-static_lib-1.18.0.zip
|
||||
$ENV{HOME}/Downloads/onnxruntime-osx-universal2-static_lib-1.18.1.zip
|
||||
${CMAKE_SOURCE_DIR}/onnxruntime-osx-universal2-static_lib-1.18.1.zip
|
||||
${CMAKE_BINARY_DIR}/onnxruntime-osx-universal2-static_lib-1.18.1.zip
|
||||
/tmp/onnxruntime-osx-universal2-static_lib-1.18.1.zip
|
||||
)
|
||||
|
||||
foreach(f IN LISTS possible_file_locations)
|
||||
|
||||
Reference in New Issue
Block a user