Skip to content

Commit b59ca20

Browse files
committed
Debug linux finding openssl headers
1 parent 6221bab commit b59ca20

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/pypi.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,20 @@ jobs:
6464
if [[ ! -d "/usr/lib64" ]]; then
6565
ln -s /usr/lib/libatomic.so.1 /usr/lib/libatomic.so
6666
fi
67+
68+
OPENSSL_LIB_DIR=/usr/lib64
6769
else
6870
# If we're running on debian-based system.
6971
apt update -y && apt-get install -y libssl-dev openssl pkg-config
72+
73+
OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu
7074
fi
75+
76+
echo "OpenSSL Lib Dir: $OPENSSL_LIB_DIR"
77+
echo "OpenSSL Include Dir: $OPENSSL_INCLUDE_DIR"
78+
79+
export OPENSSL_INCLUDE_DIR=/usr/include/openssl
80+
pkg-config --libs --cflags openssl
7181
# END EDITED SECTION #
7282
- name: Upload wheels
7383
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)