commit | db4c6a1b5dcd3fe3e0f8c02c1454cc8fbd6f1cd0 | [log] [tgz] |
---|---|---|
author | Renato Golin <renato.golin@linaro.org> | Mon Aug 01 17:03:26 2016 +0100 |
committer | Renato Golin <renato.golin@linaro.org> | Tue Aug 02 14:57:21 2016 +0100 |
tree | 3a1bca64da52e05f43759e0a4fb321bc41199711 | |
parent | 87d06329821c68b005ec70f04fff04cc9c1de601 [diff] |
[helpers] Teach llvm-env to self-host In addition to debug builds, this teaches llvm-env to create self-hosted bots that will use the "build" directory of the branch to compile a self-hosted version of the toolchain. It'll use clang and also lld, if available. Review changes: * Check for clang, not just build dir * Use -x instead of -f * Always export LLVM_SELFHOST * Quote strings for good measure * Using LLVM_CMAKE_FLAGS Change-Id: I55af0c213ae06cb8b99a33d1a80a05f09fe64c85