4 ms·
Thanks! That last one lists 84 results. None looks obviously like 'main'. Trying a random one: bazel run //in_memory/clustering:graph ERROR: Cannot run
by afandian 3y ago
Thanks! That last one lists 84 results. None looks obviously like 'main'. Trying a random one:
bazel run //in_memory/clustering:graph
ERROR: Cannot run target //in_memory/clustering:graph
I'm going to wait until someone updates the readme I think!
- tfsh 3y agoconsidering the repo doesn't contain a cc_binary build rule, I'm inclined to believe there's no demo, the easiest way to get started (if you want to play around from scratch) would be to add a cc_binary, point that to a main.cpp file which depends on the library targets you want, e.g "//in_memory/clustering:graph" and ensure there's sufficient visibility from the targets.
- elteto 3y agoThen most likely this is meant to be used primarily as a library. You should wait until they open source the tests (soon, per another commenter). Those will be runnable targets.
- hashar 3y ago`bazel run` is for a rule that has been marked `executable = True` and there is no such rule in the repository. If you `bazel build //...`, you should get the compiled libs under `bazel-out/*fastbuild/bin/`.