Skip to content

Commit

Permalink
Support mac M1(osx-aarch_64) compile and test (#1306)
Browse files Browse the repository at this point in the history
Signed-off-by: crazyhzm <[email protected]>
  • Loading branch information
CrazyHZM authored Apr 22, 2024
1 parent 80e8e1b commit 2c4ea18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion sofa-boot-project/sofa-boot-core/rpc-sofa-boot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<main.user.dir>${basedir}/../../..</main.user.dir>
<sofa.rpc.compiler.version>0.0.3</sofa.rpc.compiler.version>
<maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
<protobuf.protoc.version>3.17.3</protobuf.protoc.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -193,7 +194,7 @@
<artifactId>protobuf-maven-plugin</artifactId>
<version>0.5.1</version>
<configuration>
<protocArtifact>com.google.protobuf:protoc:3.7.1:exe:${os.detected.classifier}</protocArtifact>
<protocArtifact>com.google.protobuf:protoc:${protobuf.protoc.version}:exe:${os.detected.classifier}</protocArtifact>
<pluginId>grpc-java</pluginId>
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
<outputDirectory>build/generated/source/proto/test/java</outputDirectory>
Expand Down
2 changes: 1 addition & 1 deletion sofa-boot-project/sofaboot-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<nacos.version>1.0.0</nacos.version>
<swagger.version>2.0.0</swagger.version>
<protoc.version>3.11.0</protoc.version>
<grpc.version>1.28.0</grpc.version>
<grpc.version>1.53.0</grpc.version>
<grpc.common.protos.version>1.17.0</grpc.common.protos.version>
</properties>

Expand Down

0 comments on commit 2c4ea18

Please sign in to comment.