commit | 0b81749784f167253132e3c6535367593698de3b | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Thu Oct 01 00:18:48 2020 -0700 |
committer | Stephen Hines <srhines@google.com> | Thu Oct 01 00:49:28 2020 -0700 |
tree | 6756d4911b5a612159062cba22748395a2b8479f | |
parent | 2a95ce4a7f95169eeac7a943bee01c04f7ca1591 [diff] |
Add back missing use of profdata for new builds. I didn't realize that this was also using an `rstrip()` pattern with the numbering scheme that breaks use of profdata files. Switching to the new method restores our optimized binaries. Bug: https://issuetracker.google.com/159095144 Bug: https://issuetracker.google.com/167642019 Test: ./build.py Change-Id: I3319655e24f6f14855b01a87579833d4298505aa
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: android-llvm@googlegroups.com