commit | cc26921237283df2e86237cb251ff63b6dbb0877 | [log] [tgz] |
---|---|---|
author | Yi Kong <[email protected]> | Fri Mar 01 15:09:25 2019 -0800 |
committer | Yi Kong <[email protected]> | Sat Mar 02 07:23:23 2019 +0000 |
tree | 438e402dbd385e2b6a48224c20fac483315617e4 | |
parent | b5838003ddd8f4ca94a335035e1473f338442e40 [diff] |
Add -fsplit-lto-unit flag The new LLVM update requires '-fsplit-lto-unit' to build ThinLTO. Add the flag unconditionally in test_compiler as a temporary workaround. To be reverted after the cflag is properly set in soong. Test: TreeHugger Change-Id: I5b4dd4a7486c8219473d24a4b92447fb8994db75
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.
We have a public mailing list that you can subscribe to: [email protected]