From ef87ed23179adf79294de6e18b6740f73a7c4f3c Mon Sep 17 00:00:00 2001 From: Nathan Dunfield Date: Sat, 20 Jul 2024 14:26:57 -0500 Subject: [PATCH] Build and test on native only --- .github/workflows/macos.yml | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 757b057d..bf7e1702 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -35,7 +35,7 @@ jobs: CIBW_ENVIRONMENT: > SNAPPY_ALWAYS_BUILD_CYOPENGL=1 MACOSX_DEPLOYMENT_TARGET=10.12 - CIBW_ARCHS_MACOS: x86_64 + CIBW_ARCHS_MACOS: native CIBW_BEFORE_BUILD: > pip install "cython<3.0" FXrays low_index sphinx sphinx_rtd_theme && pip install --pre --extra-index-url https://test.pypi.org/simple cypari && diff --git a/setup.py b/setup.py index c158d698..f7eb4ad8 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ '-Wno-unreachable-code'] macOS_link_args = [] macos_arch = sysconfig.get_platform().split('-')[-1] - macos_targets = {'x86_64':'10.12', 'arm64': '11', 'universal2': '10.12'} + macos_targets = {'x86_64':'10.9', 'arm64': '11', 'universal2': '10.12'} os.environ['MACOSX_DEPLOYMENT_TARGET'] = macos_targets[macos_arch] # Remove '.' from the path so that Sphinx doesn't try to load the SnapPy module directly