Skip to content

Commit

Permalink
Merge pull request jax-ml#7523 from yashk2810:bazel
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 389013729
  • Loading branch information
jax authors committed Aug 5, 2021
2 parents be2f9b9 + b24574f commit d83450d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def check_bazel_version(bazel_path):
version_output = shell([bazel_path, "--version"])
except subprocess.CalledProcessError:
return False
match = re.search("Build label: *([0-9\\.]+)[^0-9\\.]", version_output)
match = re.search(r"bazel *([0-9\\.]+)", version_output)
if match is None:
return False
actual_ints = [int(x) for x in match.group(1).split(".")]
Expand Down

0 comments on commit d83450d

Please sign in to comment.