kou commented on code in PR #49491:
URL: https://github.com/apache/arrow/pull/49491#discussion_r2922522159
##########
.github/workflows/cpp.yml:
##########
@@ -230,6 +230,15 @@ jobs:
brew uninstall pkg-config || :
brew uninstall [email protected] || :
brew bundle --file=cpp/Brewfile
+
+ # protobuf@33 is keg-only, so make it visible to CMake and
pkg-config.
+ # Remove this workaround after the gRPC problem is fixed.
+ # See https://github.com/grpc/grpc/issues/41755
+ export PROTOBUF_PREFIX="$(brew --prefix protobuf@33)"
+ echo
"PKG_CONFIG_PATH=${PROTOBUF_PREFIX}/lib/pkgconfig:${PKG_CONFIG_PATH}" >>
"$GITHUB_ENV"
+ echo
"CMAKE_PREFIX_PATH=${PROTOBUF_PREFIX}:${ARROW_HOME}:${CMAKE_PREFIX_PATH}" >>
"$GITHUB_ENV"
+ echo "${PROTOBUF_PREFIX}/bin" >> "$GITHUB_PATH"
Review Comment:
Can we use `brew update` workaround instead of this?
We can remove the `brew update` once GitHub Actions runner ships new
Homebrew by default.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]