Skip to content

Commit

Permalink
[onnx] update to 1.15.0 (#143)
Browse files Browse the repository at this point in the history
* [onnx] update to 1.15.0

* change fixup destination folder to ONNX

* [onnx] update baseline
  • Loading branch information
luncliff authored Dec 19, 2023
1 parent 731f580 commit 9908695
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
8 changes: 5 additions & 3 deletions ports/onnx/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO onnx/onnx
REF v1.14.1
SHA512 f846fffb286c4aeadc01462f220515f0a5c2ce1cbec849da7092a08c2676f8308af7315318a2866e9182f9aed719984ef95a9ddc69ffe0e62e40664395df5efd
REF v1.15.0
SHA512 b46a4ab70af88053318eba45251c1f71528f15e45a33042877570e8d857febd3ec66e2e811fcda2105a4f17b84c9a1c6a0aaa22756c3287321b3ea29e83127fd
PATCHES
fix-cmakelists.patch
)
Expand Down Expand Up @@ -77,7 +77,7 @@ vcpkg_cmake_configure(
)

vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/ONNX)
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/ONNX PACKAGE_NAME ONNX)

file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug/include"
Expand All @@ -99,6 +99,8 @@ file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/include/onnx/defs/sequence"
"${CURRENT_PACKAGES_DIR}/include/onnx/defs/traditionalml"
"${CURRENT_PACKAGES_DIR}/include/onnx/defs/training"
"${CURRENT_PACKAGES_DIR}/include/onnx/defs/image"
"${CURRENT_PACKAGES_DIR}/include/onnx/defs/text"
"${CURRENT_PACKAGES_DIR}/include/onnx/examples"
"${CURRENT_PACKAGES_DIR}/include/onnx/frontend"
"${CURRENT_PACKAGES_DIR}/include/onnx/onnx_cpp2py_export"
Expand Down
3 changes: 1 addition & 2 deletions ports/onnx/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "onnx",
"version-semver": "1.14.1",
"port-version": 2,
"version-semver": "1.15.0",
"description": "Open standard for machine learning interoperability",
"homepage": "https://onnx.ai",
"license": "Apache-2.0",
Expand Down
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
"port-version": 0
},
"onnx": {
"baseline": "1.14.1",
"port-version": 2
"baseline": "1.15.0",
"port-version": 0
},
"onnxruntime": {
"baseline": "1.16.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/o-/onnx.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "18fa90d742ae729066d99e418a07a4a8f00e34be",
"version-semver": "1.15.0",
"port-version": 0
},
{
"git-tree": "cd5846d14598c277b59388adfb2977a99cbea292",
"version-semver": "1.14.1",
Expand Down

0 comments on commit 9908695

Please sign in to comment.