Skip to content

Commit

Permalink
Debug linux finding openssl headers
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 committed May 2, 2024
1 parent 6221bab commit b59ca20
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,20 @@ jobs:
if [[ ! -d "/usr/lib64" ]]; then
ln -s /usr/lib/libatomic.so.1 /usr/lib/libatomic.so
fi
OPENSSL_LIB_DIR=/usr/lib64
else
# If we're running on debian-based system.
apt update -y && apt-get install -y libssl-dev openssl pkg-config
OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu
fi
echo "OpenSSL Lib Dir: $OPENSSL_LIB_DIR"
echo "OpenSSL Include Dir: $OPENSSL_INCLUDE_DIR"
export OPENSSL_INCLUDE_DIR=/usr/include/openssl
pkg-config --libs --cflags openssl
# END EDITED SECTION #
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit b59ca20

Please sign in to comment.