File tree 1 file changed +20
-0
lines changed
1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 55
55
# used to build the wheels.
56
56
# Note: libatomic is necessary for the build to succeed.
57
57
before-script-linux : |
58
+ set -ex
59
+
58
60
# If we're running on rhel centos, install needed packages.
59
61
if command -v yum &> /dev/null; then
60
62
yum update -y && yum install -y perl-core openssl openssl-devel pkgconfig libatomic
@@ -64,10 +66,28 @@ jobs:
64
66
if [[ ! -d "/usr/lib64" ]]; then
65
67
ln -s /usr/lib/libatomic.so.1 /usr/lib/libatomic.so
66
68
fi
69
+
70
+ OPENSSL_LIB_DIR=/usr/lib
67
71
else
68
72
# If we're running on debian-based system.
69
73
apt update -y && apt-get install -y libssl-dev openssl pkg-config
74
+
75
+ OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu
70
76
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
71
91
# END EDITED SECTION #
72
92
- name : Upload wheels
73
93
uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments