diff options
author | Salud Lemus <saludlemus@google.com> | 2019-08-16 16:44:56 -0700 |
---|---|---|
committer | Salud Lemus <saludlemus@google.com> | 2019-08-16 23:54:35 +0000 |
commit | fcda3b3e33d46699bdfd08a81d897dd903c5d526 (patch) | |
tree | 70a9f9b70b846e66117bb3c825b1777c59580129 /llvm_tools/README.md | |
parent | 3f0c0754d9d2d068a14489cf207a4d5994e740f4 (diff) | |
download | toolchain-utils-fcda3b3e33d46699bdfd08a81d897dd903c5d526.tar.gz |
LLVM tools: Moved function that retrieves latest g3 LLVM version
BUG=None
TEST=Ran the script that creates tryjobs for both 'tot' and 'google3'
Change-Id: I1be3971ab8858cb21d9d95b63b1bf60a98d3c7b9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/1758728
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Tested-by: Salud Lemus <saludlemus@google.com>
Diffstat (limited to 'llvm_tools/README.md')
-rw-r--r-- | llvm_tools/README.md | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/llvm_tools/README.md b/llvm_tools/README.md index 2aab1ec0..d0b76fe6 100644 --- a/llvm_tools/README.md +++ b/llvm_tools/README.md @@ -116,21 +116,6 @@ python patch_manager.py --help ## Other Helpful Scripts -### `get_google3_llvm_version.py` - -#### Usage - -This script has a class that deals with retrieving the latest google3 LLVM -version. - -For example, to retrieve the latest google3 LLVM version: - -``` -from get_google3_llvm_version import LLVMVersion - -LLVMVersion().GetGoogle3LLVMVersion() -``` - ### `get_llvm_hash.py` #### Usage @@ -139,6 +124,8 @@ The script has a class that deals with retrieving either the top of trunk git hash of LLVM, the git hash of google3, or a specific git hash of a SVN version. It also has other functions when dealing with a git hash of LLVM. +In addition, it has a function to retrieve the latest google3 LLVM version. + For example, to retrieve the top of trunk git hash of LLVM: ``` @@ -170,3 +157,11 @@ from get_llvm_hash import LLVMHash LLVMHash.GetCommitMessageForHash(<git_hash>) ``` + +For example, to retrieve the latest google3 LLVM version: + +``` +from get_llvm_hash import GetGoogle3LLVMVersion + +GetGoogle3LLVMVersion() +``` |