diff options
author | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-05-23 16:03:55 +0100 |
---|---|---|
committer | Narumol Prangnawarat <narumol.prangnawarat@arm.com> | 2019-05-23 17:21:51 +0000 |
commit | c1001c6f7c2e622eaff02630e89a35e24778d9b0 (patch) | |
tree | 9a1634f71167ce1791a400371f18c401f398df82 /scripts/get_compute_library.sh | |
parent | 741358311ca239d54402ecdf20e28f561bc7fa37 (diff) | |
download | armnn-c1001c6f7c2e622eaff02630e89a35e24778d9b0.tar.gz |
Make the script for getting the compute library more robust
* Added an extra git fetch without specifying the remote to
allow fetching from wathever remote one is using
* Fixes a failure in our setup agents jobs
Change-Id: I64b034eec5fba5c8b113e89b5bb5724fb978e511
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
Diffstat (limited to 'scripts/get_compute_library.sh')
-rwxr-xr-x | scripts/get_compute_library.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get_compute_library.sh b/scripts/get_compute_library.sh index 9312504fa4..39de20cc11 100755 --- a/scripts/get_compute_library.sh +++ b/scripts/get_compute_library.sh @@ -73,7 +73,7 @@ if [ ! -z "$CLFRAMEWORK_SHA" ]; then CLFRAMEWORKREVISION=$CLFRAMEWORK_SHA fi -git fetch https://review.mlplatform.org/ml/ComputeLibrary && git checkout ${CLFRAMEWORKREVISION} +git fetch && git fetch https://review.mlplatform.org/ml/ComputeLibrary && git checkout ${CLFRAMEWORKREVISION} AssertZeroExitCode "Fetching and checking out ${CLFRAMEWORKREVISION} failed" # Set commit hook so we can submit reviews to gerrit |