onnxruntime/tools/ci_build/github/azure-pipelines/templates
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
..
jobs [QNN EP] Update QNN SDK to 2.21 (#20534) 2024-05-01 20:17:35 -07:00
stages Increase timeout for iOS packaging pipeline jobs. (#20434) 2024-04-23 11:55:55 -07:00
android-binary-size-check-stage.yml Fix binary size check build publish step. (#20298) 2024-04-15 10:15:42 -07:00
android-dump-logs-from-steps.yml
android-java-api-aar-test.yml
android-java-api-aar.yml Upgrade Ubuntu machine pool from 20.04 to 22.04 (#19117) 2024-01-16 17:25:18 -08:00
build-linux-wasm-step.yml Upgrade Ubuntu machine pool from 20.04 to 22.04 (#19117) 2024-01-16 17:25:18 -08:00
c-api-artifacts-package-and-publish-steps-posix.yml
c-api-artifacts-package-and-publish-steps-windows.yml
c-api-cpu.yml Clarify when protobuf dependency builds protoc (#20542) 2024-05-08 08:30:11 +10:00
c-api-linux-cpu.yml Fix a build issue: /MP was not enabled correctly (#19190) 2024-01-29 12:45:38 -08:00
check-cache-stats.yml
check_test_result.yml Check whether required tests are executed. (#19884) 2024-03-13 09:59:57 -07:00
clean-agent-build-directory-step.yml
common-variables.yml
compliance.yml
component-governance-component-detection-steps.yml Improve Nuget-CUDA-Packaging-Pipeline (#19668) 2024-02-27 09:27:43 -08:00
download-deps.yml Integration with ONNX 1.16.0 (#19745) 2024-04-12 09:46:49 -07:00
esrp_nuget.yml
explicitly-defined-final-tasks.yml
final-jar-testing.yml
flex-downloadPipelineArtifact.yml
get-docker-image-steps.yml
install-appcenter.yml
java-api-artifacts-package-and-publish-steps-posix.yml
linux-build-step-with-cache.yml
linux-ci.yml Upgrade Ubuntu machine pool from 20.04 to 22.04 (#19117) 2024-01-16 17:25:18 -08:00
linux-cpu-packaging-pipeline.yml Upgrade Ubuntu machine pool from 20.04 to 22.04 (#19117) 2024-01-16 17:25:18 -08:00
linux-gpu-tensorrt-packaging-pipeline.yml [TensorRT EP] support TensorRT 10-GA (#20506) 2024-05-01 11:10:53 -07:00
linux-wasm-ci.yml upgrade emsdk to 3.1.57 (#20295) 2024-04-19 23:05:18 -07:00
linux-web-init-and-check.yml [js/common] fix typedoc warnings (#19933) 2024-03-15 19:01:50 -07:00
mac-build-step-with-cache.yml
mac-cpu-packaging-pipeline.yml Switch a portion of CI/packaging jobs to MacOS12 (#19908) 2024-03-19 14:54:58 -07:00
mac-cpu-packaging-steps.yml Fix a build issue: /MP was not enabled correctly (#19190) 2024-01-29 12:45:38 -08:00
mac-cpu-packing-jobs.yml [Fix] Random connection exceptions in MacOS_C_API_Packaging_CPU stage (#20322) 2024-04-16 13:28:18 +08:00
mac-esrp-dylib.yml
make_java_win_binaries.yml Split more windows GPU workflow into 2 stages, building and testing, to make them more stable (#20080) 2024-03-28 12:55:44 +08:00
nodejs-artifacts-package-and-publish-steps-posix.yml
nodejs-artifacts-package-and-publish-steps-windows.yml
ondevice-training-cpu-packaging-pipeline.yml Remove remaining Windows ARM32 build jobs (#19840) 2024-03-11 11:25:11 +08:00
orttraining-linux-gpu-test-ci-pipeline.yml
py-linux-gpu.yml [TensorRT EP] support TensorRT 10-GA (#20506) 2024-05-01 11:10:53 -07:00
py-linux.yml
py-package-smoking-test.yml
py-packaging-linux-test-cpu.yml
py-packaging-linux-test-cuda.yml [TensorRT EP] support TensorRT 10-GA (#20506) 2024-05-01 11:10:53 -07:00
py-packaging-selectable-stage.yml [TensorRT EP] support TensorRT 10-GA (#20506) 2024-05-01 11:10:53 -07:00
py-packaging-stage.yml [QNN EP] Update QNN SDK to 2.21 (#20534) 2024-05-01 20:17:35 -07:00
py-packaging-training-cuda-stage-steps.yml Reuse T4 for Cuda12.2 training packaging pipeline. (#20244) 2024-04-10 09:21:40 +08:00
py-packaging-training-cuda-stage.yml Reuse T4 for Cuda12.2 training packaging pipeline. (#20244) 2024-04-10 09:21:40 +08:00
py-win-arm64-qnn.yml [QNN EP] Update QNN SDK to 2.21 (#20534) 2024-05-01 20:17:35 -07:00
py-win-gpu.yml [TensorRT EP] support TensorRT 10-GA (#20506) 2024-05-01 11:10:53 -07:00
py-win-x64-qnn.yml [QNN EP] Update QNN SDK to 2.21 (#20534) 2024-05-01 20:17:35 -07:00
react-native-ci.yml Follow up fix for #20472 (#20484) 2024-04-27 13:42:24 +10:00
rocm.yml Upgrade Ubuntu machine pool from 20.04 to 22.04 (#19117) 2024-01-16 17:25:18 -08:00
run-docker-build-steps.yml
set-nightly-build-option-variable-step.yml
set-python-manylinux-variables-step.yml
set-version-number-variables-step.yml
telemetry-steps.yml
upload-code-coverage-data.yml
use-android-emulator.yml
use-android-ndk.yml
use-xcode-version.yml Fix training and macos ci pipelines (#20034) 2024-03-26 12:20:11 -07:00
validate-package.yml
web-browserstack-ci.yml [js/test] align web test runner flags with ort.env (#19790) 2024-03-13 12:00:36 -07:00
web-ci.yml
win-ci.yml Extend time out in Windows GPU packaging jobs (#20207) 2024-04-06 08:03:42 +08:00
win-esrp-dll.yml
win-wasm-ci.yml enable webnn in ci build (#19163) 2024-01-18 13:11:47 -08:00
win-web-ci.yml [js/web] add diagnose log for chrome (#20439) 2024-04-23 17:18:54 -07:00
win-web-multi-browsers.yml fix condition in web CI YAML (#20095) 2024-03-27 10:35:43 -07:00
with-container-registry-steps.yml