-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support mac M1(osx-aarch_64) compile and test #1305
Merged
HzjNeverStop
merged 1 commit into
sofastack:master
from
CrazyHZM:feat/support_osx_arrch_64
Apr 22, 2024
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tip
Codebase Verification
Review Summary
The task was to verify the compatibility of the updated
protobuf.protoc.version
to3.17.3
in the context of the entire project, particularly checking how it aligns with the${protobuf.version}
used in thesofaboot-dependencies
pom.xml.Analysis of Shell Script Output
The executed script successfully located the definition of
${protobuf.version}
in thesofaboot-dependencies
pom.xml. The output reveals that${protobuf.version}
is set to3.22.2
. This version is used as a dependency version for protobuf-related artifacts within the project.Conclusion
The
protobuf.protoc.version
has been updated to3.17.3
in therpc-sofa-boot
module, while theprotobuf.version
used across the project in the BOM is3.22.2
. This discrepancy suggests that the protobuf compiler version (protoc
) and the protobuf library version used in the project are not aligned. This could potentially lead to compatibility issues, as the protobuf compiler version should ideally match the protobuf library version to ensure consistent behavior.Action
It is recommended to align the
protobuf.protoc.version
with theprotobuf.version
used across the project to avoid potential compatibility issues. The developers should consider updating theprotobuf.protoc.version
to3.22.2
to match the protobuf library version specified in the BOM.Analysis chain
Updated
protobuf.protoc.version
to3.17.3
to support macOS M1 systems.Review Summary
The review comment concerns the update of the
protobuf.protoc.version
to3.17.3
in thesofa-boot-core/rpc-sofa-boot/pom.xml
file. The purpose of this update is to support macOS M1 systems. The review comment suggests verifying the compatibility of this updated version with other dependencies.Analysis of Shell Script Output
The output from the executed shell script shows references to
protobuf
in variouspom.xml
files within the project:protobuf.protoc.version
of3.17.3
.protobuf-bom
with a version placeholder${protobuf.version}
and referencesprotobuf-java
.Conclusion
The update to
protobuf.protoc.version
to3.17.3
is consistently used in another module (sofa-boot-smoke-tests-rpc
). Additionally, thesofaboot-dependencies
manages a Bill of Materials (BOM) for protobuf, which suggests centralized management of protobuf versions across the project. However, the exact value of${protobuf.version}
used in the BOM is not directly verified from the output.Given that the updated version is used in multiple places and managed via a BOM, it is likely that the update is compatible with the project's dependencies. However, the exact version used in the BOM (
${protobuf.version}
) should be confirmed to ensure complete compatibility.Action
To fully verify the compatibility and ensure that the
${protobuf.version}
placeholder aligns with the updated3.17.3
version, further investigation into the value of${protobuf.version}
is necessary.Review Summary
The task was to verify the compatibility of the updated
protobuf.protoc.version
to3.17.3
across the project, particularly in relation to the${protobuf.version}
placeholder used in thesofaboot-dependencies
pom.xml.Analysis of Shell Script Output
The executed script aimed to extract the value of
${protobuf.version}
from thesofaboot-dependencies
pom.xml. Unfortunately, the script did not produce any output, indicating that theprotobuf.version
property might not be defined within the<properties>
section as expected, or the search parameters were not correctly set to capture the relevant data.Conclusion
The absence of output suggests that the
${protobuf.version}
might not be explicitly defined in the expected section of the pom.xml, or there could be an issue with how the search was conducted. This uncertainty prevents a definitive conclusion about the compatibility of the protobuf version across the project.Action
Given the lack of conclusive data from the previous script, a more thorough search in the
sofaboot-dependencies
pom.xml is necessary to locate the definition of${protobuf.version}
or confirm its absence.Scripts Executed
The following scripts were executed for the analysis:
Script:
Length of output: 841
Script:
Length of output: 108
Script:
Length of output: 176