Skip to content

Commit

Permalink
Update release.yaml now that ubuntu-latest is Ubuntu 24.04
Browse files Browse the repository at this point in the history
Ensure that libbz2 and liblzma development files are installed.
On macOS, wheels don't carry their own shared libraries, so avoid
linking with the non-system-provided library libdeflate.dylib.
  • Loading branch information
jmarshall committed Jan 28, 2025
1 parent 04b827e commit bfe8a34
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ build_wheels_task:
CIBW_SKIP: "*-musllinux_*"
CIBW_BUILD_VERBOSITY: 1

# Avoid linking with non-system library libdeflate.dylib
CIBW_ENVIRONMENT_MACOS: HTSLIB_CONFIGURE_OPTIONS="--without-libdeflate"

CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_28

install_script: |
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
CIBW_SKIP: "*-musllinux_*"
CIBW_BUILD_VERBOSITY: 1

# Avoid linking with non-system library libdeflate.dylib
CIBW_ENVIRONMENT_MACOS: HTSLIB_CONFIGURE_OPTIONS="--without-libdeflate"

CIBW_ARCHS_LINUX: x86_64
CIBW_ARCHS_MACOS: x86_64

Expand Down Expand Up @@ -75,7 +78,7 @@ jobs:
- name: Install build prerequisites
run: |
sudo apt-get update
sudo apt-get install -q --no-install-recommends --no-install-suggests libcurl4-openssl-dev
sudo apt-get install -q --no-install-recommends --no-install-suggests libbz2-dev libcurl4-openssl-dev liblzma-dev
- name: Create source distribution
run: python setup.py sdist --owner=root --group=root
Expand Down

0 comments on commit bfe8a34

Please sign in to comment.