We are currently in the process of increasing our bazel support in the protobuf repository. Unfortunately 3.21.1 was shipped without that bazel file as you can see in the 21.x branch <https://github.com/protocolbuffers/protobuf/tree/21.x/src/google/protobuf>. If you want to use that file you will either need to use the code on main branch or wait for the next release.
On Saturday, September 3, 2022 at 9:58:05 PM UTC-7 mingjun wrote: > For example: > https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.21.1.zip > after unzip this, i don't see the BUILD.bazel under: src/google/protobuf > > Anyone know why? or this is a bug? > > the reason why i am asking: > I am trying to create a project which will depends on > the @com_google_protobuf//src/google/protobuf:protobuf, so i add following > to my workspace and refer this, and I got error due to the missing > BUILD.bazel. > > http_archive( > name = "my_com_google_protobuf", > url = " > https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.21.1.zip > ", > sha256 = > "2d9084d3dd13b86ca2e811d2331f780eb86f6d7cb02b405426e3c80dcbfabf25", > ) > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/9a5f9d0e-c7a3-4025-98a1-0a17dfcb683fn%40googlegroups.com.
