From df513c7fe6eb957d55b85293aeda790ce9ddaf71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Do=C5=82bniak?= Date: Wed, 1 May 2019 03:38:33 +0200 Subject: [PATCH] Perform shallow clone for nGraph (#938) --- cmake/external/ngraph.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/external/ngraph.cmake b/cmake/external/ngraph.cmake index 50ab13d5cc..b64b7eda73 100644 --- a/cmake/external/ngraph.cmake +++ b/cmake/external/ngraph.cmake @@ -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.