Lines Matching +full:ndk +full:- +full:version
3 # files when updating to a new version of jemalloc.
4 # The NDK argument must be a NDK at r20 or newer so that it does not
7 ndk=${1}
8 if [[ "$ndk" == "" ]]; then
10 echo "usage: conf.sh NDK ARCH"
17 echo "usage: conf.sh NDK ARCH"
21 if [[ ! -d ${ndk} ]]; then
22 echo "NDK directory ${ndk} does not exist."
25 toolchain=${ndk}/toolchains/llvm/prebuilt/linux-x86_64
26 if [[ ! -d ${toolchain} ]]; then
27 echo "NDK ${ndk} cannot find toolchain directory."
32 # The latest version of clang to use for compilation.
37 prefix="arm-linux-androideabi"
38 clang_prefix="armv7a-linux-androideabi"
39 target="arm-android-linux"
42 prefix="aarch64-linux-android"
43 target="aarch64-android-linux"
46 target="x86-android-linux"
47 export CPPFLAGS="-m32"
50 prefix="x86_64-linux-android"
52 target="x86_64-android-linux"
72 binary=${toolchain}/bin/${prefix}-${tools[$((i + 1))]}
73 if [[ ! -e ${binary} ]]; then
84 binary=${toolchain}/bin/${clang_prefix}${latest_api}-${clang[$((i + 1))]}
85 if [[ ! -e ${binary} ]]; then
92 export CPP="${CC} -E"
94 ./autogen.sh --with-jemalloc_prefix=je_ --host=${target}