Skip to content

Commit

Permalink
Use original onnx (openvinotoolkit#6673)
Browse files Browse the repository at this point in the history
* Merged ONNX editor and ONNX importer to the one folder

* Try to migrate to original ONNX

* Remove ONNX_BUILD_SHARED_LIBS

* Update ONNX
  • Loading branch information
ilyachur authored and andrei-cv committed Aug 30, 2021
1 parent f3a34c7 commit c1c8657
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
ignore = dirty
[submodule "thirdparty/onnx"]
path = thirdparty/onnx/onnx
url = https://github.com/openvinotoolkit/onnx.git
url = https://github.com/onnx/onnx.git
[submodule "thirdparty/protobuf"]
path = thirdparty/protobuf/protobuf
url = https://github.com/protocolbuffers/protobuf.git
Expand Down
1 change: 0 additions & 1 deletion thirdparty/onnx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ macro(onnx_set_target_properties)
target_include_directories(onnx_proto SYSTEM PRIVATE "${Protobuf_INCLUDE_DIRS}")

ov_disable_all_warnings(onnx onnx_proto)
target_compile_definitions(onnx PUBLIC ONNX_BUILD_SHARED_LIBS)
endmacro()

set(ONNX_USE_PROTOBUF_SHARED_LIBS ${BUILD_SHARED_LIBS} CACHE BOOL "Use dynamic protobuf by ONNX library" FORCE)
Expand Down
2 changes: 1 addition & 1 deletion thirdparty/onnx/onnx
Submodule onnx updated 2 files
+8 −24 CMakeLists.txt
+42 −0 onnx/onnx_pb.h

0 comments on commit c1c8657

Please sign in to comment.