commit | 41981bc659b914872001a7fc1c6b95c59a28f846 | [log] [tgz] |
---|---|---|
author | Pirama Arumuga Nainar <[email protected]> | Thu Jan 10 18:31:19 2019 -0800 |
committer | Pirama Arumuga Nainar <[email protected]> | Fri Jan 11 10:55:41 2019 -0800 |
tree | 8c41df630876db710b71b64ee91dc21f0d28f24c | |
parent | 01567e172f7ad7a2cf12bc1f867a13bd5a10f365 [diff] |
Rename PGO profile file name PGO profile files are tied to their base revisions, and don't need regeneration after cherry-picks. With the current naming scheme using the long version (e.g. 8.0.7.profdata), the profile file needs to be renamed every time we bump up the patch level during a respin of the toolchain. Let's change profile-file names to svn revision with trailing alphabet suffix stripped (e.g. for r1234c, use r1234.profdata) to avoid these unnecessary renames. Test: python build.py --check-pgo-profile fails with old profile file and passes with renamed profile. Test: python toolchain/llvm/android/test_compiler.py --build-only --target aosp_marlin-eng --no-clean-built-target --generate-clang-profile --no-pgo ./ Change-Id: Ib72d7e5e9f040bc9e01d328fb024a258e95b12c3
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 the --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]