Skip to content

Commit

Permalink
?
Browse files Browse the repository at this point in the history
  • Loading branch information
mborgerson committed May 2, 2024
1 parent 452e3e2 commit f9e7374
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ def run(self):
except OSError as exc:
raise RuntimeError("Please install CMake to build") from exc

# When building pypcode wheels on GitHub Actions using cibuildwheel, ARCHFLAGS will be set
cross_compiling_for_macos_arm64 = (
platform.system() == "Darwin" and platform.machine() == "x86_64" and "arm64" in os.getenv("ARCHFLAGS", "")
platform.system() == "Darwin" and platform.machine() == "x86_64" and "arm64" in os.getenv("CIBW_ARCHS_MACOS", "")
)
cross_compiling = cross_compiling_for_macos_arm64

Expand Down

0 comments on commit f9e7374

Please sign in to comment.