[llvm] cb1a3bb - [MLGO][Infra] Add mlgo-utils to bump-version script (#100186)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 23 12:54:21 PDT 2024


Author: Aiden Grossman
Date: 2024-07-23T12:54:18-07:00
New Revision: cb1a3bb29ffcd65c221f017164a83400310a0d4b

URL: https://github.com/llvm/llvm-project/commit/cb1a3bb29ffcd65c221f017164a83400310a0d4b
DIFF: https://github.com/llvm/llvm-project/commit/cb1a3bb29ffcd65c221f017164a83400310a0d4b.diff

LOG: [MLGO][Infra] Add mlgo-utils to bump-version script (#100186)

This patch adds support in the bump-version script for bumping the
version of the mlgo-utils package. This should hopefully streamline the
processor for that with the rest of the project and prevent having to
manually update this package individually.

Added: 
    

Modified: 
    llvm/utils/release/bump-version.py

Removed: 
    


################################################################################
diff  --git a/llvm/utils/release/bump-version.py b/llvm/utils/release/bump-version.py
index b1799cba9363e..5db62e88fec1d 100755
--- a/llvm/utils/release/bump-version.py
+++ b/llvm/utils/release/bump-version.py
@@ -188,6 +188,11 @@ def process_line(self, line: str) -> str:
             "llvm/utils/lit/lit/__init__.py",
             LitProcessor(args),
         ),
+        # mlgo-utils configuration
+        (
+            "llvm/utils/mlgo-utils/mlgo/__init__.py",
+            LitProcessor(args),
+        ),
         # GN build system
         (
             "llvm/utils/gn/secondary/llvm/version.gni",


        


More information about the llvm-commits mailing list