Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions recipe/0103-Override-the-.bazelversion-to-use-6.5.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
From 807e75b193fbeee6cae3f932786f574ad2211021 Mon Sep 17 00:00:00 2001
From: "Archana.Shinde1" <archana.shinde1@ibm.com>
Date: Thu, 12 Jun 2025 04:51:56 +0000
Subject: [PATCH] Override the .bazelversion to use 6.5.0

---
oss_scripts/configure.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/oss_scripts/configure.sh b/oss_scripts/configure.sh
index 63839d3..0a00ce8 100755
--- a/oss_scripts/configure.sh
+++ b/oss_scripts/configure.sh
@@ -61,7 +61,9 @@ if is_windows; then
fi

# Copy the current bazelversion of TF.
-curl https://raw.githubusercontent.com/tensorflow/tensorflow/r2.14/.bazelversion -o .bazelversion
+# Override the .bazelversion file to use Bazel 6.5.0 instead of 6.1.0.
+#curl https://raw.githubusercontent.com/tensorflow/tensorflow/r2.14/.bazelversion -o .bazelversion
+echo "6.5.0" >> .bazelversion

# Copy the building configuration of TF.
curl https://raw.githubusercontent.com/tensorflow/tensorflow/r2.14/.bazelrc -o .bazelrc
--
2.40.1

1 change: 1 addition & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ source:
patches:
- 0101-Build-fix-in-a-conda-environment.patch
- 0102-Bazel-version-fix.patch
- 0103-Override-the-.bazelversion-to-use-6.5.0.patch

build:
number: 2
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls update build number.

Expand Down
Loading