onnxruntime/tools/ci_build/github
Scott McKay 8d09baf49f
Clarify when protobuf dependency builds protoc (#20542)
### Description
<!-- Describe your changes. -->
Currently figuring out if the protobuf dependency is building protoc it
is a little obtuse and inconsistent
* in some places we directly set protobuf_BUILD_PROTOC_BINARIES to OFF
to indicate the protobuf dependency is not building protoc
  * e.g. macOS/iOS/visionOS builds
* for a user provided protoc path we don't set
protobuf_BUILD_PROTOC_BINARIES, and inside protobuf_function.cmake that
determines if `protobuf::protoc` is added as a dependency or not
*
0dda8b0c44/cmake/external/protobuf_function.cmake (L40-L45)

To be more consistent/explicit, set protobuf_BUILD_PROTOC_BINARIES to
OFF when ONNX_CUSTOM_PROTOC_EXECUTABLE set and valid.

Remove outdated script that built and external protoc binary which was
used in later builds. The build setup will fetch a pre-built protoc so
there's no need for this additional build.

### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
Make it easier to figure out if protoc is coming from the protobuf
dependency.
2024-05-08 08:30:11 +10:00
..
android Bump ruff to 0.3.2 and black to 24 (#19878) 2024-03-13 10:00:32 -07:00
apple Clarify when protobuf dependency builds protoc (#20542) 2024-05-08 08:30:11 +10:00
azure-pipelines Clarify when protobuf dependency builds protoc (#20542) 2024-05-08 08:30:11 +10:00
js Add MacOS build to ORT C Pod (#18550) 2023-11-28 10:11:53 -08:00
linux [TensorRT EP] support TensorRT 10-GA (#20506) 2024-05-01 11:10:53 -07:00
pai fix rocm ci pipeline (#19525) 2024-02-15 00:02:08 -08:00
windows [TensorRT EP] support TensorRT 10-GA (#20506) 2024-05-01 11:10:53 -07:00
Doxyfile_csharp.cfg