trying to better understand the output of bazel mod grap --include_builtin --verbose

3 views
Skip to first unread message

Arndt

unread,
Nov 22, 2024, 11:16:51 AM (15 hours ago) Nov 22
to bazel-discuss
Hi
I used https://github.com/bazelbuild/examples/tree/main/cpp-tutorial/stage1 to better understand the built-in modules.
I'm getting this output:

> bazel mod graph --include_builtin --verbose
<root> (super-simple@1.0)
├───bazel_tools@_
│   ├───local_config_platform@_ (*)
│   ├───apple_...@1.5.0
│   │   ├───local_config_platform@_ (*)
│   │   ├───plat...@0.0.9 (*) (was 0.0.4, cause bazel_tools@_)
│   │   └───bazel_...@1.6.1 (was 1.3.0, cause bazel_f...@1.11.0, rules...@7.6.5)
│   │       ├───local_config_platform@_ (*)
│   │       └───plat...@0.0.9 (*) (was 0.0.4, cause bazel_tools@_)
│   ├───buil...@7.1.2
│   │   ├───local_config_platform@_ (*)
│   │   └───bazel_f...@1.11.0
│   │       ├───bazel_...@1.6.1 (*)
│   │       └───local_config_platform@_ (*)
and so on

I'm trying to understand the "(*)" and the "cause bazel_tools@_" term:
E.g. for apple_...@1.5.0 and its dependency plat...@0.0.9:
Originally, the dependency was 0.0.4, but bazel_tools has overruled it and the (*) is indicating such overruling?
Thx a lot
Reply all
Reply to author
Forward
0 new messages