Skip to content

Update the MacOS/Linux build scripts that build/install protobuf from source#16906

Merged
snnn merged 4 commits intomainfrom
snnn/update_sh
Jul 31, 2023
Merged

Update the MacOS/Linux build scripts that build/install protobuf from source#16906
snnn merged 4 commits intomainfrom
snnn/update_sh

Conversation

@snnn
Copy link
Copy Markdown
Contributor

@snnn snnn commented Jul 28, 2023

Description

  1. As a follow-up of Allow --build_wasm on a mac system #16761, this PR allows build ORT on iOS/Android without the need to explicitly specify a protoc path. Allow --build_wasm on a mac system #16761 is for WASM. This one is for iOS/Android
  2. Update the MacOS/Linux build scripts that build/install protobuf from source. Make them be more flexible. Add the support for RedHatEnterprise(ubi), which will needed for upgrading the base image from centos:7 to ubi:8.
  3. Update tools/ci_build/github/pai/rocm-ci-pipeline-env.Dockerfile : the docker file's base image has preinstalled protobuf in /usr/local, we should uninstall them to avoid conflicts.

Motivation and Context

@snnn snnn requested a review from a team July 28, 2023 21:10
@snnn snnn merged commit 73ddba9 into main Jul 31, 2023
@snnn snnn deleted the snnn/update_sh branch July 31, 2023 17:51
jchen351 pushed a commit that referenced this pull request Aug 12, 2023
… source (#16906)

### Description
1. As a follow-up of #16761, this PR allows build ORT on iOS/Android
without the need to explicitly specify a protoc path. #16761 is for
WASM. This one is for iOS/Android
2. Update the MacOS/Linux build scripts that build/install protobuf from
source. Make them be more flexible. Add the support for
RedHatEnterprise(ubi), which will needed for upgrading the base image
from centos:7 to ubi:8.
3. Update tools/ci_build/github/pai/rocm-ci-pipeline-env.Dockerfile :
the docker file's base image has preinstalled protobuf in /usr/local, we
should uninstall them to avoid conflicts.
kleiti pushed a commit to kleiti/onnxruntime that referenced this pull request Mar 22, 2024
… source (microsoft#16906)

### Description
1. As a follow-up of microsoft#16761, this PR allows build ORT on iOS/Android
without the need to explicitly specify a protoc path. microsoft#16761 is for
WASM. This one is for iOS/Android
2. Update the MacOS/Linux build scripts that build/install protobuf from
source. Make them be more flexible. Add the support for
RedHatEnterprise(ubi), which will needed for upgrading the base image
from centos:7 to ubi:8.
3. Update tools/ci_build/github/pai/rocm-ci-pipeline-env.Dockerfile :
the docker file's base image has preinstalled protobuf in /usr/local, we
should uninstall them to avoid conflicts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants