grpc / grpc/grpc-java

Support --incompatible_enable_proto_toolchain_resolution

Aperta
#11,152 8 commenti 5 reazioni 0 assegnatari Vedi su GitHub
enhancement help wanted Waiting on reporter
Lingua principale
Java
Stelle
12.1k
Fork
4k
Merge medio
2g 17h
PR unite (30g)
37

Descrizione

### Is your feature request related to a problem?

The problem is need to compile protoc instead of using prebuilt binary while building java_grpc_library

### Describe the solution you'd like

Support [--incompatible_enable_proto_toolchain_resolution](https://bazel.build/reference/command-line-reference?hl=en#flag--incompatible_enable_proto_toolchain_resolution) bazel flag so users can override protoc compiled from sources with prebuilt binary, as already done in [rules_python](https://github.com/bazelbuild/rules_python/pull/1577) or WIP in [rules_go](https://github.com/bazelbuild/rules_go/pull/3919)

### Describe alternatives you've considered

### Additional context

Examples of declarations toolchains for other languages that already support the feature [here](https://github.com/aspect-build/toolchains_protoc/blob/main/examples/lang_toolchains/BUILD)

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

No repository files or tests are named. Start by inspecting the toolchain declarations used by java_grpc_library, then compare them with the rules_python implementation and the examples in aspect-build/toolchains_protoc. Done means supporting --incompatible_enable_proto_toolchain_resolution so users can override the protoc compiled from sources with a prebuilt binary.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
build-system
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.