Skip to content

Commit

Permalink
[onnx] remove default-features, use name disable-static-registration
Browse files Browse the repository at this point in the history
  • Loading branch information
luncliff committed May 31, 2024
1 parent d387d33 commit f339729
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
3 changes: 1 addition & 2 deletions ports/onnx/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ endif()
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
pybind11 BUILD_ONNX_PYTHON
INVERTED_FEATURES
static-registration ONNX_DISABLE_STATIC_REGISTRATION
disable-static-registration ONNX_DISABLE_STATIC_REGISTRATION
)

# Like protoc, python is required for codegen.
Expand Down
9 changes: 3 additions & 6 deletions ports/onnx/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,15 @@
"host": true
}
],
"default-features": [
"static-registration"
],
"features": {
"disable-static-registration": {
"description": "Disable static registration for onnx operator schemas"
},
"pybind11": {
"description": "Build Python binaries",
"dependencies": [
"pybind11"
]
},
"static-registration": {
"description": "Enable static registration for onnx operator schemas"
}
}
}
2 changes: 1 addition & 1 deletion versions/o-/onnx.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"versions": [
{
"git-tree": "e99cb5c766f663a87b79321bfc6c3020e8d15308",
"git-tree": "7804def3ac096fcdae01b4fb16b3c38aa2850c1c",
"version-semver": "1.15.0",
"port-version": 2
},
Expand Down

0 comments on commit f339729

Please sign in to comment.