-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Packaging for MSYS2 #546
Comments
Using
|
FTR, the Qt5Widgets error was a red herring. The problem was boost missing in the runtime dependency list. Some minutes ago, Yosys and nextpnr were accepted in MSYS2 🎉. In the following days, both will be shown in mingw-w64-x86_64-eda and mingw-w64-i686-eda. However, the only enabled ARCH in the uploaded nextpnr package is
|
The database build needs more memory than a 32bit address space can provide. Use the bba files from the 64bit build. |
I'm trying to update the nextpnr package on MSYS2. Unfortunately, the last commit I can build is 326b348. This is the result with 9df05c4: https://github.com/umarcor/MINGW-packages/runs/2837837400?check_suite_focus=true
Any help/hint is welcome. |
Have you tried without LTO ( |
@gatecat, thanks a lot! ❤️ That worked: https://github.com/umarcor/MINGW-packages/actions/runs/942581055 |
I'm finding it difficult to package nextpnr for MSYS2 cleanly. See: https://github.com/umarcor/nextpnr/blob/ci/msys2/msys2/PKGBUILD#L27-L69
If
MSYS2_ARG_CONV_EXCL=-
is NOT used,MINGW_PREFIX
is converted from/mingw64
(or/mingw32
) to an absolute path. Then,mingw32-make DESTDIR="${pkgdir}" install
does not install the assets properly. Instead of placing them in${pkgdir}/mingw64/bin
, it creates${pkgdir}/path_at_build_time/msys64/mingw64/bin
. See https://github.com/umarcor/nextpnr/runs/1613032824?check_suite_focus=true#step:5:1871.Preprending cmake with
MSYS2_ARG_CONV_EXCL=-
is typically a solution. See, for instance, prjtrellis or openFPGALoader. Unfortunately, that seems not to work with nextpnr. See https://github.com/umarcor/nextpnr/runs/1614039582?check_suite_focus=true#step:5:1273:FileNotFoundError: [Errno 2] No such file or directory: '/mingw64/share/icebox/timings_lp384.txt'
. Note that the file does exist, because it is found when the same path is resolved/converted.I worked around this issue by not using
MSYS2_ARG_CONV_EXCL=-
and copying the assets manually, instead of usingmingw32-make DESTDIR="${pkgdir}" install
:The text was updated successfully, but these errors were encountered: