tadeja commented on code in PR #49491:
URL: https://github.com/apache/arrow/pull/49491#discussion_r2924078810


##########
.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:
   Good, I am changing this to `brew update`!



-- 
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]

Reply via email to