mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-01 03:45:06 +00:00
Perform shallow clone for nGraph (#938)
This commit is contained in:
parent
7f14326dab
commit
df513c7fe6
1 changed files with 1 additions and 0 deletions
1
cmake/external/ngraph.cmake
vendored
1
cmake/external/ngraph.cmake
vendored
|
|
@ -32,6 +32,7 @@ ExternalProject_Add(project_ngraph
|
|||
PREFIX ngraph
|
||||
GIT_REPOSITORY ${ngraph_URL}
|
||||
GIT_TAG ${ngraph_TAG}
|
||||
GIT_SHALLOW TRUE
|
||||
# Here we use onnx and protobuf built by onnxruntime to avoid linking with incompatible libraries. This might change in future.
|
||||
PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${PROJECT_SOURCE_DIR}/patches/ngraph/ngraph_onnx.cmake ${ngraph_SRC}/cmake/external_onnx.cmake
|
||||
# TODO: Use cmake.file+copy as above.
|
||||
|
|
|
|||
Loading…
Reference in a new issue