jeremyd2019 on master
python-ujson: enable for clanga… (compare)
naveen521kk on master
mingw-w64-python-pyproject2setu… Minor clean-ups and followed su… Added a template for using pypr… and 1 more (compare)
ImportError: DLL load failed while importing pytrellis: %1 is not a valid Win32 application.? https://github.com/msys2/MINGW-packages/pull/7568/checks?check_run_id=1671268526#step:5:1369
If thats python then it means mixing of 32-bit and 64-bit DLL files
@naveen521kk, yes. The problem is that the recipe needs to build some assets which take more than 4GB of memory, so it crashes on MINGW32. I'm calling a MINGW64 bash from the PKGBUILD recipe (https://github.com/msys2/MINGW-packages/pull/7568/files#diff-3e2029a456a188ac9c6af1a1f77cbeabeb85b7ce75bbd7577a98d2b795fba704R53-R55), but it's not doing it properly. The DLLs are installed for both MINGW32 and MINGW64: https://github.com/msys2/MINGW-packages/pull/7568/files#diff-3e2029a456a188ac9c6af1a1f77cbeabeb85b7ce75bbd7577a98d2b795fba704R33-R34. The same recipe works on MINGW64.
mingw-w64-x86_64-pythonis already installed, because it's a dependency of
I would suggest not to mix those.
@Biswa96, honestly, I don't like doing it like this. But I think this is better than pushing an intermediate package to MSYS2 which is just to be used while building nextpnr.
nextpnr-chipdbsand then make
mingw-w64-nextpnrdepend on that.
You could setup a new sysconfig_blah.py for this cross scenario too ..
@mingwandroid, there is already a helper script for executing this step (https://github.com/msys2/MINGW-packages/pull/7568/files#diff-5525f40256b3131d3d3c52f57815fb1ca64d76f2bcc3a94cbf41ac9705fe2afd). Yet, I don't see where would
sysconfig_blah.py fit in there, since those are just calls to cmake.