onnxruntime/tools/ci_build/github/apple
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
..
c Add MacOS build to ORT C Pod (#18550) 2023-11-28 10:11:53 -08:00
objectivec Enable MacOS build in ORT Objc Pod (#18786) 2023-12-13 13:50:42 -08:00
__init__.py [iOS Packaging] Add full ORT build iOS package. (#10626) 2022-02-28 15:39:07 -08:00
assemble_apple_packaging_artifacts.sh Add MacOS build to ORT C Pod (#18550) 2023-11-28 10:11:53 -08:00
build_and_assemble_apple_pods.py Bump ruff to 0.3.2 and black to 24 (#19878) 2024-03-13 10:00:32 -07:00
build_apple_framework.py Support xcframework for mac catalyst builds. (#19534) 2024-03-20 10:55:19 -07:00
coreml_supported_ops.md [CoreML] Add Softmax and Split op support (#18358) 2023-11-23 14:26:57 -08:00
default_full_apple_framework_build_settings.json Support xcframework for mac catalyst builds. (#19534) 2024-03-20 10:55:19 -07:00
default_full_ios_framework_build_settings.json Support xcframework for mac catalyst builds. (#19534) 2024-03-20 10:55:19 -07:00
default_mobile_ios_framework_build_settings.json Add MacOS build to ORT C Pod (#18550) 2023-11-28 10:11:53 -08:00
default_training_ios_framework_build_settings.json Support xcframework for mac catalyst builds. (#19534) 2024-03-20 10:55:19 -07:00
default_vision_os_framework_build_settings.json Support visionos build (#20365) 2024-04-23 18:15:07 -07:00
framework_info.json.template Support xcframework for mac catalyst builds. (#19534) 2024-03-20 10:55:19 -07:00
get_simulator_device_info.py Remove iOS simulator max runtime version limit. (#19396) 2024-02-06 14:54:06 -08:00
ios_packaging.requirements.txt Add iOS packaging pipeline (#8264) 2021-07-02 06:21:59 -07:00
package_assembly_utils.py Add MacOS build to ORT C Pod (#18550) 2023-11-28 10:11:53 -08:00
test_apple_packages.py Support xcframework for mac catalyst builds. (#19534) 2024-03-20 10:55:19 -07:00
test_minimal_training_ios_simulator_framework_build_settings.json [Apple framework] Fix minimal build with training enabled. (#19858) 2024-03-12 11:33:30 -07:00
upload_pod_archive_and_update_podspec.sh Use download.onnxruntime.ai in podspec (#20474) 2024-04-26 20:28:54 +10:00
use_ios_pods_with_custom_build.md Add MacOS build to ORT C Pod (#18550) 2023-11-28 10:11:53 -08:00