-
I try build/compile wheels for I needed replace original -or (platform.startswith('win') and 'luajit' in os.path.basename(lua_bundle_path.rstrip(os.sep)))
+or (get_machine() != "AMD64" and get_machine() != "x86_64" and 'luajit' in os.path.basename(lua_bundle_path.rstrip(os.sep))) So, I try use error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX86\\x86\\link.exe' failed with exit status 1120 See loggs in CI jobs. I guess key command from manual step is: python setup.py build_ext -i bdist_wheel --use-bundle --with-cython Anybody have any idea why it failed, looks like misconfiguration??? Note: It is important (for me) to build import lupa.luajit21
import lupa.luajit20
import lupa.lua54
import lupa.lua53
import lupa.lua52
import lupa.lua51 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The trick is add before - name: "VS setup env"
uses: TheMrMilchmann/setup-msvc-dev@v3
with:
arch: x64 It just run For the record none of is working: env:
CIBW_BEFORE_BUILD_WINDOWS: call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
CIBW_BEFORE_ALL_WINDOWS: call C:\"Program Files"\"Microsoft Visual Studio"\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat |
Beta Was this translation helpful? Give feedback.
The trick is add before
cibuildwheel
job:It just run
vcvars64.bat
and does nothing on Linux/Mac.For the record none of is working: