HDDS-13877. Fix and tweak Apple silicon protobuf 2.5.0 build section#9242
HDDS-13877. Fix and tweak Apple silicon protobuf 2.5.0 build section#9242jojochuang merged 7 commits intoapache:masterfrom
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR simplifies and improves the documentation for building Ozone from source on ARM-based Apple Silicon Macs. The main focus is on streamlining the protobuf 2.5.0 setup process for macOS ARM64 systems.
- Automated the protobuf patching process by replacing manual file editing with a
sedcommand - Removed the
PROTOBUF_VERSIONvariable in favor of hardcoded version strings for consistency with other sections - Updated terminology and processor model references
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Is this intended to match the steps on the new website? |
|
Thanks @smengcl for the fix. Unnecessary I agree with @bdemers suggestion in #9295: |
|
This PR has been marked as stale due to 21 days of inactivity. Please comment or remove the stale label to keep it open. Otherwise, it will be automatically closed in 7 days. |
Conflicts: hadoop-hdds/docs/content/start/FromSource.md
ah yup, that needs to be updated as well. Will file another PR for that. Thanks for the reminder. |
I like the idea. I have replaced |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Would you like to take a look @adoroszlai ? |
adoroszlai
left a comment
There was a problem hiding this comment.
Thanks @smengcl for updating the doc, LGTM. Steps for downloading and patching protobuf worked fine.
This reminds me: Protobuf 2.5 is no longer used on master, but it could be useful when working with backports or releases before 2.2.
|
Let's update the v2 doc and remove the protobuf 2.5 instructions there. |
We still need this for Ozone 2.1 dev. It is no longer necessary from 2.2 and onwards. |
|
Thanks @jojochuang @adoroszlai for reviewing this. |
What changes were proposed in this pull request?
There is aFixed in HDDS-13931cd ..command that is not necessary.The file modification step can be more streamlined. Along with other tweaks and fixes.
Note: Ozone 2.2.0 and on will not need the protobuf 2.5.0 build steps because protobuf 2.5.0 is no longer a dependency. Ozone 2.1.x and earlier will still need this step for devs.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-13877
How was this patch tested?