Skip to content

Commit

Permalink
Add comments, remove libatomic dep
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 committed Apr 16, 2024
1 parent aabc5fa commit 3a4e755
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# This file is autogenerated by maturin v1.5.1
# This file is autogenerated by maturin v1.5.1, and minimally edited by hand.
# See comments below for the edited sections.
#
# To update, run
#
# maturin generate-ci github
#
# and re-add the edits.
name: CI

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

0 comments on commit 3a4e755

Please sign in to comment.