rok commented on code in PR #48569:
URL: https://github.com/apache/arrow/pull/48569#discussion_r2631811897
##########
.github/workflows/python.yml:
##########
@@ -194,7 +194,24 @@ jobs:
# pkg-config formula is removed from GitHub Actions runner.
brew uninstall pkg-config || :
brew uninstall [email protected] || :
- brew bundle --file=cpp/Brewfile
+
+ # Install everything except aws-sdk-cpp
+ grep -v 'aws-sdk-cpp' cpp/Brewfile > /tmp/Brewfile.tmp
+ brew bundle --file=/tmp/Brewfile.tmp
+
+ # Build aws-sdk-cpp to guarantee version consistency
+ git clone --recurse-submodules --shallow-submodules --depth 1 \
+ --branch 1.11.705 https://github.com/aws/aws-sdk-cpp.git
/tmp/aws-sdk-cpp
+ cmake -S /tmp/aws-sdk-cpp -B /tmp/aws-sdk-cpp/build \
+ -GNinja \
+ -DBUILD_ONLY="config;s3;transfer;identity-management;sts" \
+ -DBUILD_SHARED_LIBS=ON \
+ -DENABLE_TESTING=OFF \
+ -DAUTORUN_UNIT_TESTS=OFF \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/tmp/local
+ cmake --build /tmp/aws-sdk-cpp/build
+ cmake --install /tmp/aws-sdk-cpp/build
Review Comment:
```suggestion
brew bundle --file=cpp/Brewfile
```
--
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]