Skip to content

Commit

Permalink
Uninstall system protobuf to prevent version conflicts (#10522)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkruskal-google committed Sep 8, 2022
1 parent aafacb0 commit ea2f204
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kokoro/macos/prepare_build_macos_rc
Expand Up @@ -6,6 +6,10 @@ set -eux

export HOMEBREW_PREFIX=$(brew --prefix)

##
# Remove any pre-existing protobuf installation.
brew uninstall protobuf

##
# Select Xcode version

Expand Down
3 changes: 3 additions & 0 deletions kokoro/release/python/macos/build_artifacts.sh
Expand Up @@ -2,6 +2,9 @@

set -ex

# Remove any pre-existing protobuf installation.
brew uninstall protobuf

# change to repo root
pushd $(dirname $0)/../../../..

Expand Down

0 comments on commit ea2f204

Please sign in to comment.