Skip to content

Commit

Permalink
Fix build failure on M1 mac (open-telemetry#6324)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurit authored and LironKS committed Oct 31, 2022
1 parent e5dab84 commit 8d32b82
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 8d32b82

Please sign in to comment.