aboutsummaryrefslogtreecommitdiffstats
path: root/.download_from_Kalray.sh
blob: 16b7190f28fd8cac37d86346dfabe8e3f9629f03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
mkdir download
cd download
# sshpass "-p$ sftp -o "StrictHostKeyChecking=no" compcert@ssh.kalray.eu <<EOF
# cd files
# get DEB.tar
# EOF
# tar xf DEB.tar
VERSION=ACE4.6.0
FILE=$VERSION.tgz
DEBPATH=$VERSION/ACE-acceleration/ubuntu1804/tools/DEB
sshpass "-p$KALRAY_SFTP_PASSWORD" rsync -e 'ssh -v -o "ConnectionAttempts=10" -o "StrictHostKeyChecking=no"' --progress -a certicompil@pressembois.imag.fr:Kalray/ACE4.6.0.tgz .
tar xvfz $FILE $DEBPATH/
mv $DEBPATH/*.deb .
rm -rf $VERSION