Skip to content

Commit 3a4e755

Browse files
committed
Add comments, remove libatomic dep
1 parent aabc5fa commit 3a4e755

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/pypi.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
# This file is autogenerated by maturin v1.5.1
1+
# This file is autogenerated by maturin v1.5.1, and minimally edited by hand.
2+
# See comments below for the edited sections.
3+
#
24
# To update, run
35
#
46
# maturin generate-ci github
57
#
8+
# and re-add the edits.
69
name: CI
710

811
on:
@@ -48,20 +51,18 @@ jobs:
4851
args: --release --out dist --find-interpreter
4952
sccache: 'true'
5053
manylinux: auto
54+
# BEGIN EDITED SECTION #
55+
# Install OpenSSL development headers into the manylinux docker container
56+
# used to build the wheels.
5157
before-script-linux: |
5258
# If we're running on rhel centos, install needed packages.
5359
if command -v yum &> /dev/null; then
54-
yum update -y && yum install -y perl-core openssl openssl-devel pkgconfig libatomic
55-
56-
# If we're running on i686 we need to symlink libatomic
57-
# in order to build openssl with -latomic flag.
58-
if [[ ! -d "/usr/lib64" ]]; then
59-
ln -s /usr/lib/libatomic.so.1 /usr/lib/libatomic.so
60-
fi
60+
yum update -y && yum install -y perl-core openssl openssl-devel pkgconfig
6161
else
6262
# If we're running on debian-based system.
6363
apt update -y && apt-get install -y libssl-dev openssl pkg-config
6464
fi
65+
# END EDITED SECTION #
6566
- name: Upload wheels
6667
uses: actions/upload-artifact@v4
6768
with:

0 commit comments

Comments
 (0)