diff --git a/ports/onnxruntime-gpu/portfile.cmake b/ports/onnxruntime-gpu/portfile.cmake index 75ba99bc236..1057acb8d36 100644 --- a/ports/onnxruntime-gpu/portfile.cmake +++ b/ports/onnxruntime-gpu/portfile.cmake @@ -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 diff --git a/ports/onnxruntime-gpu/vcpkg.json b/ports/onnxruntime-gpu/vcpkg.json index af971193bc1..1894348e037 100644 --- a/ports/onnxruntime-gpu/vcpkg.json +++ b/ports/onnxruntime-gpu/vcpkg.json @@ -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", diff --git a/versions/baseline.json b/versions/baseline.json index 13740ddcbcf..48d7a84d124 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5702,7 +5702,7 @@ }, "onnxruntime-gpu": { "baseline": "1.14.1", - "port-version": 0 + "port-version": 1 }, "oof": { "baseline": "2021-11-23", diff --git a/versions/o-/onnxruntime-gpu.json b/versions/o-/onnxruntime-gpu.json index aade8e0e705..589614e59ea 100644 --- a/versions/o-/onnxruntime-gpu.json +++ b/versions/o-/onnxruntime-gpu.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "7b91d7cf9e629be0d5581c85e8520a1850d0bf2a", + "version": "1.14.1", + "port-version": 1 + }, { "git-tree": "74bcaaeb54e99b6aee5e6c7560e6fa9935bcbf28", "version": "1.14.1",