File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 38
38
manylinux : ${{ matrix.target == 'aarch64' && 'manylinux_2_28' || 'auto' }}
39
39
before-script-linux : |
40
40
pip install uniffi-bindgen==0.24.1
41
- # https://github.com/sfackler/rust-openssl/issues/2036#issuecomment-1724324145
42
- apt update -y && apt-get install -y libssl-dev openssl pkg-config
41
+
42
+ # ISSUE: https://github.com/sfackler/rust-openssl/issues/2036#issuecomment-1724324145
43
+ # If we're running on rhel centos, install needed packages.
44
+ if command -v yum &> /dev/null; then
45
+ yum update -y && yum install -y perl-core openssl openssl-devel pkgconfig libatomic
46
+
47
+ # If we're running on i686 we need to symlink libatomic
48
+ # in order to build openssl with -latomic flag.
49
+ if [[ ! -d "/usr/lib64" ]]; then
50
+ ln -s /usr/lib/libatomic.so.1 /usr/lib/libatomic.so
51
+ fi
52
+ else
53
+ # If we're running on debian-based system.
54
+ apt update -y && apt-get install -y libssl-dev openssl pkg-config
55
+ fi
56
+
43
57
- name : Upload wheels
44
58
uses : actions/upload-artifact@v3
45
59
with :
You can’t perform that action at this time.
0 commit comments