Skip to content

Commit

Permalink
[DOCKER] Revert git shallow clone change. (#2841)
Browse files Browse the repository at this point in the history
This patch reverts one of my earlier patches (squashed in #2710) to
reduce bandwidth requirements of git clone, in this particular case we
are checking out a specific hash rather than a tag or branch name. The
--branch option to git clone permits tags or branches but does not
permit a specific hash.
  • Loading branch information
mshawcroft authored and tqchen committed Mar 19, 2019
1 parent 5a8ab8f commit af4efdb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/install/ubuntu_install_nnpack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ set -o pipefail
apt-get update && apt-get install -y --no-install-recommends git cmake

# TODO: specific tag?
git clone --branch=1e005b0c2 --depth=1 https://github.com/Maratyszcza/NNPACK NNPACK
git clone https://github.com/Maratyszcza/NNPACK NNPACK
(cd NNPACK && git checkout 1e005b0c2)

mkdir -p NNPACK/build
cd NNPACK/build
Expand Down

0 comments on commit af4efdb

Please sign in to comment.