Last active
December 26, 2017 15:46
-
-
Save pperehozhih/4ba739382a28e606f437da9e5b5f5d09 to your computer and use it in GitHub Desktop.
Build android toolchain
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
git clone http://llvm.org/git/llvm.git | |
cd llvm/tools | |
git clone http://llvm.org/git/clang.git | |
cd .. | |
cd projects | |
git clone http://llvm.org/git/compiler-rt.git | |
cd .. | |
mkdir build | |
cd build | |
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DLLVM_TARGETS_TO_BUILD="ARM;AArch64" -DLLVM_DEFAULT_TARGET_TRIPLE="arm-linux-androideabi" -G "Ninja" .. | |
ninja |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment