Skip to content

Commit

Permalink
Fix build failure on M1 mac (#6324)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurit authored Jul 14, 2022
1 parent 2a59d0f commit 07f7876
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ protobuf {
protoc {
// The artifact spec for the Protobuf Compiler
artifact = "com.google.protobuf:protoc:3.3.0"
if (osdetector.os == "osx") {
// Always use x86_64 version as ARM binary is not available
artifact += ":osx-x86_64"
}
}
plugins {
id("grpc") {
Expand Down

0 comments on commit 07f7876

Please sign in to comment.