Skip to content
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

Dockerfile: Add MinGW-w64 toolchain #26

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

stephanosio
Copy link
Member

This commit adds a script that builds MinGW-w64 toolchains with win32 and posix thread models and updates the Dockerfile to invoke it.

The MinGW-w64 toolchains are installed in the Docker image as follows:

  • /opt/mingw-w64-win32: x86_64-w64-mingw32 toolchain, win32 thread model
  • /opt/mingw-w64-posix: x86_64-w64-mingw32 toolchain, posix thread model

The toolchain build scripts cleans up after itself so that no intermediate build artifacts end up in the final Docker image.

This commit adds a script that builds MinGW-w64 toolchains with `win32`
and `posix` thread models and updates the Dockerfile to invoke it.

The MinGW-w64 toolchains are installed in the Docker image as follows:

* /opt/mingw-w64-win32: x86_64-w64-mingw32 toolchain, win32 thread model
* /opt/mingw-w64-posix: x86_64-w64-mingw32 toolchain, posix thread model

The toolchain build scripts cleans up after itself so that no
intermediate build artifacts end up in the final Docker image.

Signed-off-by: Stephanos Ioannidis <[email protected]>
@stephanosio stephanosio marked this pull request as ready for review October 23, 2024 09:59
@stephanosio stephanosio merged commit 43792f1 into zephyrproject-rtos:main Oct 23, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant