Skip to content

Commit

Permalink
build: Fix potential libcrypto lib loading issue for X86 mac runners (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
advancedxy authored Feb 20, 2024
1 parent e738d46 commit f7b88e9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/actions/setup-macos-builder/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ runs:
unzip $PROTO_ZIP
echo "$HOME/d/protoc/bin" >> $GITHUB_PATH
export PATH=$PATH:$HOME/d/protoc/bin
# install openssl and setup DYLD_LIBRARY_PATH to work with libcrypto.dylib loading issues with x86_64 mac runners
# see PR https://github.com/apache/arrow-datafusion-comet/pull/55 for more details
brew install openssl
OPENSSL_LIB_PATH=$(dirname `brew list openssl | grep 'lib/libcrypto.dylib'`)
echo "openssl lib path is: ${OPENSSL_LIB_PATH}"
export DYLD_LIBRARY_PATH=$OPENSSL_LIB_PATH:$DYLD_LIBRARY_PATH
- name: Install JDK ${{inputs.jdk-version}}
uses: actions/setup-java@v4
Expand Down

0 comments on commit f7b88e9

Please sign in to comment.