mingw-woarm64-build
mingw-woarm64-build copied to clipboard
Workflows and build scripts for Windows on Arm64 GNU cross-compiler for `aarch64-w64-mingw32` target.
The current [.github/scripts/toolchain/build-mingw.sh](https://github.com/Windows-on-ARM-Experiments/mingw-woarm64-build/compare/main...fix-mingw-build#diff-1f9e39124df250a620ea715c65f4c6d7ac0e0644cd15f897472d5860fe832c4f) actually do not re-build MinGW libraries, e.g. `libwinpthreads`. Also, it seems that build of MinGW is not needed for Cygwin toolchain builds.
The second stage `aarch64-w64-mingw32` build of `libwinpthreads` with `--enable-static`, `--enable-shared`, `--enable-wildcard`, and `--with-libraries=all` fails with the following errors: ``` /bin/bash ./libtool --tag=CC --mode=link aarch64-w64-mingw32-gcc -Wall -DWIN32_LEAN_AND_MEAN -O0 -ggdb -no-undefined -version-info...
Fixes an issue that runtime artifact was not available when it was not uploaded in the previous build step because toolchain cache hit happened, e.g. https://github.com/Windows-on-ARM-Experiments/mingw-woarm64-build/actions/runs/11144349242/job/31229945660.
Bash has only integer arithmetic and I'd like to avoid using `bc`.
As MinGW/MSYS2 considers `msvcrt` deprecated and `ucrt` the default option for the runtime, we should use `ucrt` as default as well.
Adds a script that builds and tests the Boost library with our toolchain. It's not a part of GitHub actions as we currently don't have an ARM Windows runner with...
As we are able to collect nice summary of test results for a single run (https://github.com/Windows-on-ARM-Experiments/mingw-woarm64-build/blob/main/.github/scripts/toolchain/create-gcc-summary.sh), it would be even better to collect similar statistics for comparative tests runs workflow...
This PR actually contains three separate changes, see in-code comments. IMO it would be overkill to submit it separatelly, but I can do it if needed.
https://github.com/Windows-on-ARM-Experiments/gcc-woarm64/pull/27