Skip to content

Commit

Permalink
CI wheels config
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinbjornt committed Aug 28, 2024
1 parent 54774f5 commit f177404
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-12, ubuntu-latest, windows-latest]
os: [macos-12, ubuntu-latest, windows-2019]

steps:
# Check out repository using git-lfs
Expand All @@ -32,7 +32,8 @@ jobs:
# Options (https://cibuildwheel.readthedocs.io/en/stable/options/)
env:
CIBW_SKIP: cp36-* cp37-* cp38-* *pp37-* pp38-* *musllinux*
CIBW_BEFORE_ALL: python3 -m pip install --upgrade pip wheel distutils setuptools cffi packaging
CIBW_BEFORE_BUILD_MACOS: python3 -m pip install --upgrade pip wheel setuptools cffi packaging
CIBW_BEFORE_BUILD_WINDOWS: python3 -m pip install --upgrade pip wheel setuptools cffi packaging
CIBW_ARCHS_MACOS: "x86_64 arm64"
CIBW_ARCHS_WINDOWS: "AMD64"
CIBW_ARCHS_LINUX: "x86_64"
Expand Down
2 changes: 1 addition & 1 deletion src/icegrams/trie_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
elif MACOS:
os.environ["CFLAGS"] = "-stdlib=libc++" # Fixes PyPy build on macOS 10.15.6+
os.environ["MACOSX_DEPLOYMENT_TARGET"] = "10.9"
extra_compile_args = ["-mmacosx-version-min=10.7", "-stdlib=libc++"]
extra_compile_args = ["-mmacosx-version-min=10.9", "-stdlib=libc++"]
else:
# Adding -O3 to the compiler arguments doesn't seem to make
# any discernible difference in lookup speed
Expand Down

0 comments on commit f177404

Please sign in to comment.