Skip to content

Commit 9bf9f40

Browse files
committed
Build: Disable LuaJIT on Windows-ARM.
1 parent fc670b6 commit 9bf9f40

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/wheels.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ jobs:
151151
env:
152152
# Skip abi3 targets here:
153153
CIBW_SKIP: "cp31[23456789]-win_arm64 cp31[23456789]-win32"
154-
CIBW_ENVIRONMENT_WINDOWS: PATH="$VS170COMNTOOLS:$PATH"
155154

156155
- name: Upload wheels
157156
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,8 @@ def handle_arg(arg: str):
401401
or (get_machine().lower() not in ("x86_64", "amd64", "aarch64", "arm64") and 'luajit' in os.path.basename(lua_bundle_path.rstrip(os.sep)))
402402
# LuaJIT 2.0 does not support aarch64.
403403
or (get_machine().lower() in ("aarch64", "arm64") and 'luajit20' in os.path.basename(lua_bundle_path.rstrip(os.sep)))
404+
# Cannot currently build LuaJIT on Windows-ARM.
405+
or (platform.startswith('win') and get_machine().lower() in ("aarch64", "arm64") and 'luajit' in os.path.basename(lua_bundle_path.rstrip(os.sep)))
404406
)
405407
]
406408
if not configs:

0 commit comments

Comments
 (0)