-
Notifications
You must be signed in to change notification settings - Fork 139
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
To add arduino avrdude-packing github action to create binary for Linux, macOS and Windows #1162
Comments
I have done a simplified version here (not yet for Windows) and only one patch is needed. It is running okay against current avrdude git main. For MSYS2 MinGW, there is one more patch needed. But I have not figured out how to get Windows MinGW build working.
The error is rather strange and point out potential issue with the way ncurses package is built in the container. |
For Linux and macOS, only one patch is needed. The only question is whether it is acceptable for avrdude project or not. I think as it is it can not be accepted because it will not work with MSVC build. @mariusgreuel or other CMake experts may be able to figure out a way to modify it to be suitable to be adopted. |
For MinGW, there is one more patch required, which is also not acceptable as it is. But again @mariusgreuel or other CMake experts may be able to figure out a way to modify it to be suitable to be adopted. It seems to me the issuse is that the current CMake file do not work well with MinGW cross build ( |
Indeed @umbynos has figured out the issue and find the solution to bump up ncurses version. |
Take note the Arduino Cross-build container is here and uses GNU Affero General Public License v3.0. So it should be acceptable to use. |
Snapshot release here, up to latest git commit b569966. Two patches are applied on top of avrdude git main. |
Snapshot release here, up to latest git commit 4c92030. Two patches are applied on top of avrdude git main. |
New snapshot here on 22-Nov-2022 |
@umbynos has released a new snapshot of the arduino-packing project. You can download the binary here. Built with crossbuild v0.2.2: remove libusb-win32 dep in favor of libusb-compat |
New snapshot release for latest git main: |
New snapshot release for latest git main. |
New snapshot release for latest git main: |
My avrdude 7.1 release with unofficial binaries here. |
Please take note the official v7.1 Windows binary will still have Issue #968. You can point the user to my alternative 7.1 mingw64 binary. |
I will close this one as it is a bit out of scope for avrdude project. It is probably left to the Arduino avrdude-packing project. |
I think @umbynos has done a good job in avrdude-packing project to be able to build static linking version for Linux, macOS and Windows (mingw32). It may be a good idea to adopt it as an addition to the current github actions.
The text was updated successfully, but these errors were encountered: