File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 5555 # used to build the wheels.
5656 # Note: libatomic is necessary for the build to succeed.
5757 before-script-linux : |
58+ set -ex
59+
5860 # If we're running on rhel centos, install needed packages.
5961 if command -v yum &> /dev/null; then
6062 yum update -y && yum install -y perl-core openssl openssl-devel pkgconfig libatomic
@@ -64,10 +66,28 @@ jobs:
6466 if [[ ! -d "/usr/lib64" ]]; then
6567 ln -s /usr/lib/libatomic.so.1 /usr/lib/libatomic.so
6668 fi
69+
70+ OPENSSL_LIB_DIR=/usr/lib
6771 else
6872 # If we're running on debian-based system.
6973 apt update -y && apt-get install -y libssl-dev openssl pkg-config
74+
75+ OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu
7076 fi
77+
78+ export OPENSSL_INCLUDE_DIR=/usr/include/openssl
79+
80+ ls $OPENSSL_LIB_DIR
81+ ls $OPENSSL_INCLUDE_DIR
82+ ls /usr/lib
83+ ls /usr/lib/x86_64-linux-gnu
84+ ls /usr/lib64
85+
86+
87+ echo "OpenSSL Lib Dir: $OPENSSL_LIB_DIR"
88+ echo "OpenSSL Include Dir: $OPENSSL_INCLUDE_DIR"
89+
90+ pkg-config --libs --cflags openssl
7191 # END EDITED SECTION #
7292 - name : Upload wheels
7393 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments