diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2023-01-03 08:12:59 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2023-01-03 08:12:59 +0100 |
commit | d5593c118856d3eba1eef181e3e0c666ded11f35 (patch) | |
tree | 877045b3002d3912c029fd0d8a601e2ec14c6a31 | |
parent | 88cbcc4538416cca1eae4b8a92d902096cdb11bc (diff) | |
download | python-lxml-d5593c118856d3eba1eef181e3e0c666ded11f35.tar.gz |
Use MACOS_DEPLOYMENT_TARGET=11.0 instead of 10.15 to support arm64 builds.
-rw-r--r-- | .github/workflows/ci.yml | 2 | ||||
-rw-r--r-- | .github/workflows/wheels.yml | 2 | ||||
-rw-r--r-- | buildlibxml.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f03ddb1..959ab41e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -134,7 +134,7 @@ jobs: env: OS_NAME: ${{ matrix.os }} PYTHON_VERSION: ${{ matrix.python-version }} - MACOSX_DEPLOYMENT_TARGET: 10.15 + MACOSX_DEPLOYMENT_TARGET: 11.0 LIBXML2_VERSION: 2.10.3 LIBXSLT_VERSION: 1.1.37 COVERAGE: false diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 6d51b84f..ae79122f 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -156,7 +156,7 @@ jobs: python-version: 2.7 # needs older image runs-on: ${{ matrix.os }} - env: { LIBXML2_VERSION: 2.10.3, LIBXSLT_VERSION: 1.1.37, MACOSX_DEPLOYMENT_TARGET: 10.15 } + env: { LIBXML2_VERSION: 2.10.3, LIBXSLT_VERSION: 1.1.37, MACOSX_DEPLOYMENT_TARGET: 11.0 } steps: - uses: actions/checkout@v3 diff --git a/buildlibxml.py b/buildlibxml.py index d385217e..b2d425b5 100644 --- a/buildlibxml.py +++ b/buildlibxml.py @@ -427,7 +427,7 @@ def configure_darwin_env(env_setup): env_default = { 'CFLAGS': "-arch arm64 -O2", 'LDFLAGS': "-arch arm64", - 'MACOSX_DEPLOYMENT_TARGET': "10.6" + 'MACOSX_DEPLOYMENT_TARGET': "11.0" } else: env_default = { |