aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMatthew Bentham <matthew.bentham@arm.com>2019-01-23 15:23:13 +0000
committerLes Bell <les.bell@arm.com>2019-01-25 09:58:17 +0000
commit6e2f60674cbe77c2a1da94ab71e35c298a1924de (patch)
tree5a3a34ac0e7417ecac042937307757fe089fb61b /scripts
parent1fcb4ffde11ab9a191101caf157f235f0fc7f27e (diff)
downloadarmnn-6e2f60674cbe77c2a1da94ab71e35c298a1924de.tar.gz
Github issue #127 - Use https to check out ComputeLibrary
Change-Id: I55f2f21b0603055787a174269ed74b99f84ec29c
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/get_compute_library.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/get_compute_library.sh b/scripts/get_compute_library.sh
index 2120e0362d..d7c2f77fae 100755
--- a/scripts/get_compute_library.sh
+++ b/scripts/get_compute_library.sh
@@ -56,7 +56,7 @@ fi
if [ ! -d clframework ]; then
echo "+++ Cloning clframework"
- git clone ssh://$GITHUB_USERNAME@review.mlplatform.org:29418/ml/ComputeLibrary clframework
+ git clone https://review.mlplatform.org/ml/ComputeLibrary clframework
AssertZeroExitCode "Cloning CL Framework failed"
fi
pushd clframework > /dev/null
@@ -65,15 +65,15 @@ pushd clframework > /dev/null
# For pinnning to a ref use this:
# CLFRAMEWORKREVISION="branches/arm_compute_18_11" # Release 18.11
-# git fetch ssh://$GITHUB_USERNAME@review.mlplatform.org:29418/ml/ComputeLibrary $CLFRAMEWORKREVISION && git checkout FETCH_HEAD
+# git fetch https://review.mlplatform.org/ml/ComputeLibrary $CLFRAMEWORKREVISION && git checkout FETCH_HEAD
# For pinning to a revision use this:
CLFRAMEWORKREVISION="e8c0c4397a508169282e5859410d5d6cdc87edbe" # Master towards 19.02
-git fetch ssh://$GITHUB_USERNAME@review.mlplatform.org:29418/ml/ComputeLibrary && git checkout ${CLFRAMEWORKREVISION}
+git fetch https://review.mlplatform.org/ml/ComputeLibrary && git checkout ${CLFRAMEWORKREVISION}
AssertZeroExitCode
# Set commit hook so we can submit reviews to gerrit
-scp -p -P 29418 $GITHUB_USERNAME@review.mlplatform.org:hooks/commit-msg .git/hooks/
+(curl -Lo `git rev-parse --git-dir`/hooks/commit-msg https://review.mlplatform.org/tools/hooks/commit-msg; chmod +x `git rev-parse --git-dir`/hooks/commit-msg)
AssertZeroExitCode
popd > /dev/null # out of clframework