aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Martincigh <matteo.martincigh@arm.com>2019-05-23 16:03:55 +0100
committerNarumol Prangnawarat <narumol.prangnawarat@arm.com>2019-05-23 17:21:51 +0000
commitc1001c6f7c2e622eaff02630e89a35e24778d9b0 (patch)
tree9a1634f71167ce1791a400371f18c401f398df82
parent741358311ca239d54402ecdf20e28f561bc7fa37 (diff)
downloadarmnn-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>
-rwxr-xr-xscripts/get_compute_library.sh2
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