Skip to content

Commit

Permalink
fix and refine
Browse files Browse the repository at this point in the history
  • Loading branch information
advancedxy committed Feb 20, 2024
1 parent 4d16280 commit 526bd9c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/actions/setup-macos-builder/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,12 @@ runs:
unzip $PROTO_ZIP
echo "$HOME/d/protoc/bin" >> $GITHUB_PATH
export PATH=$PATH:$HOME/d/protoc/bin
# install openssl to work with potential issues with libcrypto.dylib loading
# see https://stackoverflow.com/questions/58272830/python-crashing-on-macos-10-15-beta-19a582a-with-usr-lib-libcrypto-dylib for more details
# 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
export DYLD_LIBRARY_PATH=/usr/local/opt/openssl/lib:$DYLD_LIBRARY_PATH
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 526bd9c

Please sign in to comment.