[llvm] [MLGO][Infra] Add mlgo-utils to bump-version script (PR #100186)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 23 12:44:05 PDT 2024
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/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.
>From ba5110d7d22cf5693676b776215a5aa594e93f8b Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Tue, 23 Jul 2024 19:42:47 +0000
Subject: [PATCH] [MLGO][Infra] Add mlgo-utils to bump-version script
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.
---
llvm/utils/release/bump-version.py | 5 +++++
1 file changed, 5 insertions(+)
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