the-algorithm
the-algorithm copied to clipboard
Workspace file missing
The bazel BUILD files are useless I think without a bazel file. The following error occurred when trying to run bazel.exe build in the directory: src\scala\com\twitter\simclusters_v2\scalding\embedding\abuse
WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a WORKSPACE file).
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
ERROR: The 'build' command is only supported from within a workspace (below a directory having a WORKSPACE file).
See documentation at https://bazel.build/concepts/build-ref#workspace```
I figured it out. You must create an empty WORKSPACE file at the root of the repo.
Bazel outputs: Your request is correct, but requested an empty set of targets. Nothing will be built.
resulting in nothing being built.
Even adding WORKSPACE file to the path of some components is useless.