summaryrefslogtreecommitdiff
path: root/scripts/get_clang_version.py
AgeCommit message (Collapse)Author
2021-10-06[get_clang_version] Make the version regex permissive Pirama Arumuga Nainar
For instance, this will match `clang-dev` when using a local build of llvm-toolchain. Test: run script Change-Id: I3f2a0a6adc360f0a299def79535ce139353aece2
2021-09-09Merge "Read LLVM version from $LLVM_PREBUILTS_VERSION if set." Peter Collingbourne
2021-09-08Read LLVM version from $LLVM_PREBUILTS_VERSION if set. Peter Collingbourne
This matches the behavior of the build system. Change-Id: Idce0a48403acde100e20246896a1ec68df6b73c7
2021-08-27Make this script use python3. Christopher Ferris
There is nothing in this script that is not python3, so make it python3. Without this, a system without python will fail when trying to run gdbclient.py. Test: Ran gdbclient.py on a system without a python executable. Change-Id: I9f8418932628569c445ee01bc6f9ead8aed7989f
2021-08-05[scripts] Print full clang prebuilt dir from get_clang_version.py Pirama Arumuga Nainar
e.g. clang-r416183b1 instead of just r416183b1. Test: manually run the script Change-Id: I993202ea97433f841e3127ecef46dec66fb9a8c9
2021-06-25[scripts] Add script to print clang prebuilts version Pirama Arumuga Nainar
Bug: http://b/187231324 This script parses soong/cc/config/global.go to return clang prebuilts version. (It may get the version from a json config file in the future.) Currently it's used in development/scripts/symbol.py and is the recommended way to get clang prebuilts version number in the future. Test: get_clang_version_test.py Change-Id: Id92a74fd523a5270999bb4d6454525bf2f2f0c04