Skip to content

Commit

Permalink
Build and test on native only
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanDunfield committed Jul 20, 2024
1 parent c1083cb commit ef87ed2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ef87ed2

Please sign in to comment.