Skip to content
Commit d11ca414 authored by Rob Walton's avatar Rob Walton Committed by Jaeden Amero
Browse files

Enable GIT_SHALLOW and GIT_PROGRESS



Use git shallow cloning to try and speed up the CMake configure stage.
Unfortunately FetchContent does not support the git --shallow-submodules
option at present, so cloning the ML Evaluation Kit in particular takes
a long time, as it has several large submodule dependencies.

This change still seems to improve the configure time by 20 seconds on a
2018 Macbook Pro with 100mbps download speed.

Also enable the GIT_PROGRESS option so clone progress can be viewed in
the terminal when FETCHCONTENT_QUIET is set to OFF by the user.

Signed-off-by: Rob Walton's avatarRobert Walton <rob.walton@arm.com>
parent fb2e9cfc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment