diff options
author | Niyas Sait <niyas.sait@linaro.org> | 2021-10-21 22:31:56 +0100 |
---|---|---|
committer | Niyas Sait <niyas.sait@linaro.org> | 2021-10-21 22:31:56 +0100 |
commit | dbc1996e4321671a4093d9c6035b7652be650e8d (patch) | |
tree | 1b5e9ecee042b60d43f9e81881368cef8aaeb1cd /setup.py | |
parent | 772045446e4a4ac278297666d633ae35a3cfb737 (diff) | |
download | greenlet-dbc1996e4321671a4093d9c6035b7652be650e8d.tar.gz |
add support for win/arm64 platform
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -70,8 +70,9 @@ else: if sys.platform == 'win32' and '64 bit' in sys.version: # this works when building with msvc, not with 64 bit gcc - # switch_x64_masm.obj can be created with setup_switch_x64_masm.cmd - extra_objects = [GREENLET_PLATFORM_DIR + 'switch_x64_masm.obj'] + # switch_<platform>_masm.obj can be created with setup_switch_<platform>_masm.cmd + obj_fn = 'switch_arm64_masm.obj' if platform.machine() == 'ARM64' else 'switch_x64_masm.obj' + extra_objects = [os.path.join(GREENLET_PLATFORM_DIR, obj_fn)] else: extra_objects = [] |