[onnxruntime-gpu] add experimental headers (#30176)

* [onnxruntime-gpu] add experimental headers

* Fix versions
This commit is contained in:
Dr-Electron 2023-03-30 23:28:44 +02:00 committed by GitHub
parent 14b524488f
commit 04a2fe698f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 1 deletions

View File

@ -12,6 +12,20 @@ vcpkg_extract_source_archive(
NO_REMOVE_ONE_LEVEL
)
# Download repo for experimental features
vcpkg_from_github(
OUT_SOURCE_PATH REPO_PATH
REPO microsoft/onnxruntime
REF v${VERSION}
SHA512 d8f7ea161e850a738b9a22187662218871f88ad711282c58631196a74f4a4567184047bab0001b973f841a3b63c7dc7e350f92306cc5fa9a7adc4db2ce09766f
)
file(COPY
${REPO_PATH}/include/onnxruntime/core/session/experimental_onnxruntime_cxx_api.h
${REPO_PATH}/include/onnxruntime/core/session/experimental_onnxruntime_cxx_inline.h
DESTINATION ${CURRENT_PACKAGES_DIR}/include
)
file(MAKE_DIRECTORY
${CURRENT_PACKAGES_DIR}/include
${CURRENT_PACKAGES_DIR}/lib

View File

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

View File

@ -5702,7 +5702,7 @@
},
"onnxruntime-gpu": {
"baseline": "1.14.1",
"port-version": 0
"port-version": 1
},
"oof": {
"baseline": "2021-11-23",

View File

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