commit | 797fc54fb3575eb664c467d1e5d956d46cf4cfe6 | [log] [tgz] |
---|---|---|
author | Haibo Huang <[email protected]> | Wed Aug 07 18:04:24 2019 -0700 |
committer | Haibo Huang <[email protected]> | Thu Aug 08 04:01:42 2019 +0000 |
tree | 0651a06fc1c1cca61695a826834c6a20b051ea53 | |
parent | e8b1d13b490dbb5376e6749b73a369573767bd31 [diff] |
Sets universal_newlines for check_output calls. subprocess.check_output returns bytes by default. Sets universal_newlines to true to get str. Test: build.py Change-Id: Ibc91f6ed7fd2fd4f774b48f21825befad76c2853
For the latest version of this doc, please make sure to visit: Android Clang/LLVM Toolchain Readme Doc
You can also visit the Android Clang/LLVM Prebuilts Readme Doc for more information about our prebuilt toolchains (and what versions they are based upon).
$ mkdir llvm-toolchain && cd llvm-toolchain $ repo init -u https://android.googlesource.com/platform/manifest -b llvm-toolchain $ repo sync -c $ python toolchain/llvm_android/build.py
If building on Linux, pass --no-build windows
to build.py
to skip building Clang for Windows.
If you have an additional llvm tree built and present in your $PATH
, then build.py
might fail during the Windows build of libcxxabi with the error 'libstdc++ version must be at least 4.8.'
. The solution is to remove that path from your $PATH
before invoking build.py
.
We have a public mailing list that you can subscribe to: [email protected]