Skip to content

Commit cb34d47

Browse files
GMNGeoffreyiree-copybara-bot
authored andcommitted
Revert "Rename WORKSPACE to WORKSPACE.bazel"
The Bazel versioning wrapper script doesn't look for WORKSPACE.bazel bazelbuild/bazel#12760 should fix that in Bazel, but it will be a bit before it's rolled out. Reverts 1148698 PiperOrigin-RevId: 349453240
1 parent f58a69f commit cb34d47

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

File renamed without changes.

build_tools/bazel/iree.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ build:rbe --jobs=150
207207
# These flags must be adapted to work with toolchain containers other than
208208
# rbe-ubuntu16-04
209209
# References to "rbe_default" matches rbe_autoconfig(name="rbe_default") in
210-
# WORKSPACE.bazel
210+
# WORKSPACE
211211
build:rbe --host_javabase=@rbe_default//java:jdk
212212
build:rbe --javabase=@rbe_default//java:jdk
213213
build:rbe --host_java_toolchain=@bazel_tools//tools/jdk:toolchain_hostjdk8

build_tools/docker/manage_images.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ def get_repo_digest(tagged_image_url: str, dry_run: bool = False) -> str:
162162

163163

164164
def update_rbe_reference(digest: str, dry_run: bool = False):
165-
print('Updating WORKSPACE.bazel file for rbe-toolchain')
165+
print('Updating WORKSPACE file for rbe-toolchain')
166166
digest_updates = 0
167-
for line in fileinput.input(files=['WORKSPACE.bazel'], inplace=True):
167+
for line in fileinput.input(files=['WORKSPACE'], inplace=True):
168168
if line.strip().startswith('digest ='):
169169
digest_updates += 1
170170
if dry_run:
@@ -176,8 +176,8 @@ def update_rbe_reference(digest: str, dry_run: bool = False):
176176

177177
if digest_updates > 1:
178178
raise RuntimeError(
179-
"There is more than one instance of 'digest =' in the WORKSPACE.bazel "
180-
" file. This means that more than just the 'rbe_toolchain' digest was "
179+
"There is more than one instance of 'digest =' in the WORKSPACE file. "
180+
"This means that more than just the 'rbe_toolchain' digest was "
181181
"overwritten, and the file should be restored.")
182182

183183

0 commit comments

Comments
 (0)