Skip to content

Commit 3e73d60

Browse files
committed
fix riscv64 cpuinfo patch
1 parent c5ffe96 commit 3e73d60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patches/apply_patch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def patch_cpuinfo_riscv64_sys_hwprobe(tf_version: str, tf_src_root: str):
7979
with open(cpuinfo_cmake, 'r') as source:
8080
for line in source:
8181
line_strip = line.strip()
82-
if not patched_1 and line_strip == '# Sync with tensorflow/third_party/cpuinfo/workspace.bzl':
82+
if not patched_1 and line_strip == '# Sync with tensorflow/workspace2.bzl':
8383
fixed.write(f" {line_strip} # fixed\n")
8484
fixed.write(" GIT_TAG 6543fec09b2f04ac4a666882998b534afc9c1349\n")
8585
patched_1 = True

0 commit comments

Comments
 (0)