We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7d22cf commit 4ae689aCopy full SHA for 4ae689a
setup.py
@@ -11,6 +11,7 @@
11
from glob import iglob
12
from io import open as io_open
13
from sys import platform
14
+from platform import machine as get_machine
15
16
try:
17
# use setuptools if available
@@ -360,6 +361,8 @@ def has_option(name):
360
361
# Couldn't get the Windows build to work. See
362
# https://luajit.org/install.html#windows
363
or (platform.startswith('win') and 'luajit' in os.path.basename(lua_bundle_path.rstrip(os.sep)))
364
+ # Let's restrict LuaJIT to x86_64 for now.
365
+ or (get_machine() != "x86_64" and 'luajit' in os.path.basename(lua_bundle_path.rstrip(os.sep)))
366
)
367
]
368
if not configs and not option_use_bundle:
0 commit comments