Skip to content

Commit

Permalink
Put minimum macos at 10.13
Browse files Browse the repository at this point in the history
  • Loading branch information
skef committed Nov 5, 2024
1 parent 059e8a1 commit 5dfe7d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ jobs:
env:
CIBW_BUILD: "cp39-*"
CIBW_ARCHS_MACOS: universal2
CIBW_ENVIRONMENT_MACOS: "CFLAGS='-arch arm64 -arch x86_64 -I/usr/include/libxml2' CXXFLAGS='-arch arm64 -arch x86_64' LDFLAGS='-arch arm64 -arch x86_64'"
CIBW_ENVIRONMENT_MACOS: "CFLAGS='-arch arm64 -arch x86_64 -I/usr/include/libxml2' CXXFLAGS='-arch arm64 -arch x86_64' LDFLAGS='-arch arm64 -arch x86_64' MACOSX_DEPLOYMENT_TARGET='10.13'"

- name: Build wheel (except macosx_universal2)
uses: pypa/cibuildwheel@v2.21.1
@@ -61,7 +61,7 @@ jobs:
# CIBW_ENVIRONMENT_LINUX: "CFLAGS='-I/usr/include/libxml2'"
# CIBW_BEFORE_ALL_LINUX: "yum install -y libuuid-devel"
# CIBW_BEFORE_ALL_LINUX: "dnf -y install uuid-devel"
CIBW_ENVIRONMENT_MACOS: "CFLAGS='-I/usr/include/libxml2'"
CIBW_ENVIRONMENT_MACOS: "CFLAGS='-I/usr/include/libxml2' MACOSX_DEPLOYMENT_TARGET='10.13'"
CIBW_ENVIRONMENT_LINUX: "FORCE_BUILD_LIBXML2=ON"
CIBW_ENVIRONMENT_WINDOWS: "FORCE_BUILD_LIBXML2=ON"

0 comments on commit 5dfe7d0

Please sign in to comment.