Marat Dukhan | ba95107 | 2017-11-20 14:40:23 +0300 | [diff] [blame] | 1 | #!/usr/bin/env bash |
2 | |||||
3 | set -e | ||||
4 | |||||
5 | SYSTEMNAME=`uname` | ||||
6 | if [[ "$SYSTEMNAME" == 'Darwin' ]] | ||||
7 | then | ||||
8 | PROCESSORS=`sysctl -n hw.ncpu` | ||||
9 | else | ||||
10 | PROCESSORS=`nproc` | ||||
11 | fi | ||||
12 | |||||
13 | ndk-build APP_ABI=arm64-v8a -j$PROCESSORS |