File tree 1 file changed +4
-9
lines changed
1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 1
1
# /bin/bash
2
2
3
- NDK_VER=android-ndk-r10d
3
+ NDK_VER=android-ndk-r11c
4
4
5
5
download_extract () {
6
6
aria2c -x 16 $1 -o $2
7
7
tar -xf $2
8
8
}
9
9
10
10
# This is used for the Android NDK.
11
- download_extract_xz () {
11
+ download_extract_zip () {
12
12
aria2c --file-allocation=none --timeout=120 --retry-wait=5 --max-tries=20 -Z -c $1 -o $2
13
- stat -c ' ATTEMPT 1 - %s' $2
14
- md5sum $2
15
13
# This resumes the download, in case it failed.
16
14
aria2c --file-allocation=none --timeout=120 --retry-wait=5 --max-tries=20 -Z -c $1 -o $2
17
- stat -c ' ATTEMPT 2 - %s' $2
18
- md5sum $2
19
15
20
- # Keep some output going during the extract, so the build doesn't timeout.
21
- pv $2 | xz -vd | tar -x
16
+ unzip $2 2>&1 | pv > /dev/null
22
17
}
23
18
24
19
travis_before_install () {
@@ -61,7 +56,7 @@ travis_install() {
61
56
if [ " $PPSSPP_BUILD_TYPE " = " Android" ]; then
62
57
free -m
63
58
sudo apt-get install ant -qq
64
- download_extract_xz http://hdkr.co/ ${NDK_VER} -x86_64.tar.xz ${NDK_VER} -x86_64.tar.xz
59
+ download_extract_zip http://dl.google.com/android/repository/ ${NDK_VER} -linux- x86_64.zip ${NDK_VER} -linux- x86_64.zip
65
60
fi
66
61
67
62
# Blackberry NDK: 10.3.0.440 + GCC: 4.8.2
You can’t perform that action at this time.
0 commit comments