Commit 94c5acda authored by Artur Wojcik's avatar Artur Wojcik Committed by Robert Kimball

[ONNX] Upgrade libonnx to version 1.3 (#1530)

* onnxifi: upgrade libonnx
Signed-off-by: 's avatarArtur Wojcik <artur.wojcik@intel.com>

* onnx: upgrade libonnx to version 1.3
Signed-off-by: 's avatarArtur Wojcik <artur.wojcik@intel.com>
parent 9afbc891
...@@ -21,14 +21,14 @@ include(ExternalProject) ...@@ -21,14 +21,14 @@ include(ExternalProject)
# ONNX.proto definition version # ONNX.proto definition version
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
set(ONNX_VERSION pre-1.3) set(ONNX_VERSION 1.3.0)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# Download and install libonnx ... # Download and install libonnx ...
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
set(ONNX_GIT_REPO_URL https://github.com/onnx/onnx.git) set(ONNX_GIT_REPO_URL https://github.com/onnx/onnx.git)
set(ONNX_GIT_SHA1 73b2d4d799a97fba18a7b3d9c077ff6e59749c3f) set(ONNX_GIT_BRANCH rel-${ONNX_VERSION})
# The 'BUILD_BYPRODUCTS' arguments was introduced in CMake 3.2. # The 'BUILD_BYPRODUCTS' arguments was introduced in CMake 3.2.
if (${CMAKE_VERSION} VERSION_LESS 3.2) if (${CMAKE_VERSION} VERSION_LESS 3.2)
...@@ -36,7 +36,7 @@ if (${CMAKE_VERSION} VERSION_LESS 3.2) ...@@ -36,7 +36,7 @@ if (${CMAKE_VERSION} VERSION_LESS 3.2)
ext_onnx ext_onnx
PREFIX onnx PREFIX onnx
GIT_REPOSITORY ${ONNX_GIT_REPO_URL} GIT_REPOSITORY ${ONNX_GIT_REPO_URL}
GIT_TAG ${ONNX_GIT_SHA1} GIT_TAG ${ONNX_GIT_BRANCH}
INSTALL_COMMAND "" INSTALL_COMMAND ""
UPDATE_COMMAND "" UPDATE_COMMAND ""
CMAKE_ARGS -DONNX_GEN_PB_TYPE_STUBS=OFF CMAKE_ARGS -DONNX_GEN_PB_TYPE_STUBS=OFF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment