Skip to content

Commit

Permalink
[onnxruntime] use copy instead of rename
Browse files Browse the repository at this point in the history
  • Loading branch information
luncliff committed Sep 15, 2024
1 parent 7572d77 commit 48cf702
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ports/onnxruntime/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ vcpkg_download_distfile(EXTERNAL_CUDNN_CMAKE_PATH
FILENAME onnxruntime-external-cuDNN.cmake
SKIP_SHA512
)
file(RENAME "${EXTERNAL_ABSEIL_CPP_CMAKE_PATH}" "${SOURCE_PATH}/cmake/external/abseil-cpp.cmake")
file(RENAME "${EXTERNAL_CUDNN_CMAKE_PATH}" "${SOURCE_PATH}/cmake/external/cuDNN.cmake")
file(COPY_FILE "${EXTERNAL_ABSEIL_CPP_CMAKE_PATH}" "${SOURCE_PATH}/cmake/external/abseil-cpp.cmake" ONLY_IF_DIFFERENT)
file(COPY_FILE "${EXTERNAL_CUDNN_CMAKE_PATH}" "${SOURCE_PATH}/cmake/external/cuDNN.cmake" ONLY_IF_DIFFERENT)

find_program(PROTOC NAMES protoc
PATHS "${CURRENT_HOST_INSTALLED_DIR}/tools/protobuf"
Expand Down
2 changes: 1 addition & 1 deletion versions/o-/onnxruntime.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"versions": [
{
"git-tree": "e17c361e719fc6c637395121730b3adb999f6f3d",
"git-tree": "9eb55d7729512170d6b61045036bba2ac0d8aa91",
"version-semver": "1.19.0",
"port-version": 1
},
Expand Down

0 comments on commit 48cf702

Please sign in to comment.