[onnxruntime-gpu] update version to 1.14.1 (#30228)

* [onnxruntime-gpu] update version to 1.14.1

* update version

* change to new function

* version
This commit is contained in:
Frank 2023-03-17 08:54:59 +08:00 committed by GitHub
parent 6489ba464c
commit 36106934ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 10 deletions

View File

@ -1,18 +1,15 @@
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION}
vcpkg_download_distfile(ARCHIVE
URLS "https://github.com/microsoft/onnxruntime/releases/download/v${VERSION}/onnxruntime-win-x64-gpu-${VERSION}.zip"
FILENAME "onnxruntime-win-x64-gpu-${VERSION}.zip"
SHA512 eea4d95189da1dc0358673d09d66b6c2880cb66333d76d6c6d54cacc87ac04a7a52f4aa911da02c40bc86718e584d130e492d7a0499ed0daa323194c05d41960
SHA512 f927302daa7b778eaf15693e446303060c0a38dfd18b8026c28ac65f545dd463ee7cd3f0aa6bfe59301c5c85ccf4512584ed968ac42ce8d78c12a79d8af2de1e
)
vcpkg_extract_source_archive_ex(
OUT_SOURCE_PATH SOURCE_PATH
ARCHIVE ${ARCHIVE}
vcpkg_extract_source_archive(
SOURCE_PATH
ARCHIVE "${ARCHIVE}"
NO_REMOVE_ONE_LEVEL
REF ${VERSION}
)
file(MAKE_DIRECTORY
@ -88,4 +85,4 @@ file(COPY ${SOURCE_PATH}/onnxruntime-win-x64-gpu-${VERSION}/lib/onnxruntime_prov
file(COPY ${SOURCE_PATH}/onnxruntime-win-x64-gpu-${VERSION}/lib/onnxruntime_providers_cuda.dll
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/bin)
# # Handle copyright
file(INSTALL ${SOURCE_PATH}/onnxruntime-win-x64-gpu-${VERSION}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/onnxruntime-win-x64-gpu-${VERSION}/LICENSE")

View File

@ -1,6 +1,6 @@
{
"name": "onnxruntime-gpu",
"version": "1.12.1",
"version": "1.14.1",
"description": "onnxruntime (GPU)",
"homepage": "https://github.com/microsoft/onnxruntime",
"license": "MIT",

View File

@ -5657,7 +5657,7 @@
"port-version": 0
},
"onnxruntime-gpu": {
"baseline": "1.12.1",
"baseline": "1.14.1",
"port-version": 0
},
"oof": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "74bcaaeb54e99b6aee5e6c7560e6fa9935bcbf28",
"version": "1.14.1",
"port-version": 0
},
{
"git-tree": "c5e4f24f9b3441c5860d6c891e95251ba69193d1",
"version": "1.12.1",