File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11if (WIN32 )
22
3- message (NOTICE "Downloading onnxruntime: $ENV {TRITON_ONNXRUNTIME_PACKAGE_URL} " )
3+ message (NOTICE "Downloading onnxruntime: ${TRITON_ONNXRUNTIME_PACKAGE_URL} " )
44
55 # Define the download and extraction paths)
66 set (DOWNLOAD_PATH "${CMAKE_BINARY_DIR} /_deps/downloads/onnxruntime.zip" )
77 set (EXTRACT_DIR "${CMAKE_BINARY_DIR} /_deps/downloads/onnxruntime" )
88
99 # Download the file
10- file (DOWNLOAD $ENV {TRITON_ONNXRUNTIME_PACKAGE_URL} ${DOWNLOAD_PATH} SHOW_PROGRESS STATUS DOWNLOAD_STATUS)
10+ file (DOWNLOAD ${TRITON_ONNXRUNTIME_PACKAGE_URL} ${DOWNLOAD_PATH} SHOW_PROGRESS STATUS DOWNLOAD_STATUS)
1111
1212 # Check the download status
1313 list (GET DOWNLOAD_STATUS 0 DOWNLOAD_RESULT)
1414 if (NOT DOWNLOAD_RESULT EQUAL 0)
15- message (SEND_ERROR "Failed to download ${ONNXRUNTIME_PACKAGE_URL } " )
15+ message (SEND_ERROR "Failed to download: ${TRITON_ONNXRUNTIME_PACKAGE_URL } " )
1616 else ()
1717 message (NOTICE "Download successful: ${DOWNLOAD_PATH} " )
1818
You can’t perform that action at this time.
0 commit comments