Skip to content

Instantly share code, notes, and snippets.

@tzutalin
Last active August 3, 2016 05:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tzutalin/fa793ee55667c780d818c209a611f963 to your computer and use it in GitHub Desktop.
Save tzutalin/fa793ee55667c780d818c209a611f963 to your computer and use it in GitHub Desktop.
Quick setup for Boost.Compute-Android
#!/usr/bin/env sh
# Clone Boost.Compute-Android
git clone --recursive https://github.com/tzutalin/Boost.Compute-Android
# Download NDK
wget https://dl.google.com/android/ndk/android-ndk-r10e-linux-x86_64.bin
chmod +x android-ndk-r10e-linux-x86_64.bin
./android-ndk-r10e-linux-x86_64.bin 1> /dev/null 2>&1
mv android-ndk-r10e android-ndk
export PATH=`pwd`/android-ndk:$PATH
./Boost.Compute-Android/envsetup
./Boost.Compute-Android/build.py --test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment