@@ -20,19 +20,19 @@ endif()
2020
2121
2222# Requires CUDA 12, cudnn 9
23- set (onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.24.4/onnxruntime-linux-x64-gpu-1.24.4.tgz " )
23+ set (onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.24.4/onnxruntime-linux-x64-gpu-1.24.4-patched.zip " )
2424set (onnxruntime_URL2 "https://hf-mirror.com/csukuangfj/onnxruntime-libs/resolve/main/1.24.4/onnxruntime-linux-x64-gpu-1.24.4.tgz" )
25- set (onnxruntime_HASH "SHA256=c5f804ff5d239b436fa59e9f2fb288a39f7eb9552f6a636c8b71e792e91a8808 " )
25+ set (onnxruntime_HASH "SHA256=f832c427bed33510dfd40de28094b64de4dc0c11559f4547feeb81cf267b9da3 " )
2626
2727# If you don't have access to the Internet,
2828# please download onnxruntime to one of the following locations.
2929# You can add more if you want.
3030set (possible_file_locations
31- $ENV{HOME} /Downloads/onnxruntime-linux -x64-gpu-1.24.4.tgz
32- ${CMAKE_SOURCE_DIR } /onnxruntime-linux -x64-gpu-1.24.4.tgz
33- ${CMAKE_BINARY_DIR } /onnxruntime-linux -x64-gpu-1.24.4.tgz
34- /tmp/onnxruntime-linux -x64-gpu-1.24.4.tgz
35- /star-fj/fangjun/download/github/onnxruntime-linux -x64-gpu-1.24.4.tgz
31+ $ENV{HOME} /Downloads/onnxruntime-linux -x64-gpu-1.24.4-patched.zip
32+ ${CMAKE_SOURCE_DIR } /onnxruntime-linux -x64-gpu-1.24.4-patched.zip
33+ ${CMAKE_BINARY_DIR } /onnxruntime-linux -x64-gpu-1.24.4-patched.zip
34+ /tmp/onnxruntime-linux -x64-gpu-1.24.4-patched.zip
35+ /star-fj/fangjun/download/github/onnxruntime-linux -x64-gpu-1.24.4-patched.zip
3636)
3737
3838foreach (f IN LISTS possible_file_locations)
@@ -76,4 +76,4 @@ set_target_properties(onnxruntime PROPERTIES
7676
7777file (GLOB onnxruntime_lib_files "${onnxruntime_SOURCE_DIR } /lib/libonnxruntime*" )
7878message (STATUS "onnxruntime lib files: ${onnxruntime_lib_files} " )
79- install (FILES ${onnxruntime_lib_files} DESTINATION lib)
79+ install (FILES ${onnxruntime_lib_files} DESTINATION lib)
0 commit comments