Skip to content

Commit

Permalink
chore: split x86_64 and arm64 on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
wst24365888 committed Dec 13, 2022
1 parent 7803ecb commit 196ed2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ jobs:

- uses: pypa/cibuildwheel@v2.11.2
env:
CIBW_ARCHS_MACOS: universal2
CIBW_ARCHS_LINUX: "auto aarch64"
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_ARCHS_LINUX: auto aarch64
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.10"
CIBW_BUILD_VERBOSITY_MACOS: 3

Expand Down
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ endif()

# for macOS, check ARCHFLAGS
if (APPLE)
message(STATUS "ARCHFLAGS: $ENV{ARCHFLAGS}")
if (NOT DEFINED ENV{ARCHFLAGS})
message(FATAL_ERROR "ARCHFLAGS is not defined.")
endif()
Expand Down

0 comments on commit 196ed2e

Please sign in to comment.