Skip to content

tools missing when compiling Bazel with Bazel #508

@hanwen

Description

@hanwen

Bazel now embeds the tools in the launcher.

This makes the following scenario break:

 $ ls -l ~/bin/bazel 
lrwxrwxrwx 1 hanwen eng 62 Oct  9 20:07 /usr/local/google/home/hanwen/bin/bazel -> /usr/local/google/home/hanwen/vc/use-bazel/bazel-bin/src/bazel
cd ~/vc/use-bazel 
git pull && sh compile.sh 

# now work on Bazel
cd ~/vc/bazel && rm -rf src tools && git reset --hard && git pull && bazel test src/test/shell/...

Since the tree now no longer contains JavaBuilder_deploy.jar, the tests under src/test/shell/ fail, since the 2nd stage bazel doesn't contain the jar.

At a minimum, the rule that constructs the launcher should abort if the jar is missing.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions