cookbook 'mingw', '~> 5.0.0'
mingw
(30) Versions
5.0.0
-
Follow11
Installs a mingw/msys based toolchain on windows
cookbook 'mingw', '~> 5.0.0', :supermarket
knife supermarket install mingw
knife supermarket download mingw
mingw cookbook
Installs Windows compiler tools through MSYS2, MinGW-get and TDM-GCC.
Supports Windows with Chef/Cinc 18+. MSYS2 requires x64 Windows 10 or Server 2016+.
Use native custom resources in a wrapper cookbook; no setup recipe is required.
msys2_package 'mingw-w64-x86_64-gcc' do root 'C:/msys64' end
Resources
- [mingw_get](documentation/mingw_get.md): MinGW package install, upgrade, remove.
- [mingw_tdm_gcc](documentation/mingw_tdm_gcc.md): TDM 5.1.0,32-bit SJLJ or64-bit SEH/SJLJ.
- [msys2_package](documentation/msys2_package.md): current MSYS2 packages and groups.
Use MSYS2 for current toolchains. TDM 5.1.0 and MinGW-get remain for compatibility
with software that needs those compiler/runtime conventions. They are legacy
versions, not equivalent to the current MSYS2 toolchain.
See [migration to 5.0](migration.md) for removed recipes/attributes and source settings.
See [testing](TESTING.md) for native Windows acceptance.
Licensed under Apache-2.0. Original author: Chef Software, Inc.; maintained by Sous Chefs.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
mingw Cookbook CHANGELOG
This file is used to list changes made in each version of the mingw cookbook.
5.0.0 (2026-11-12)
⚠ BREAKING CHANGES
- migrate mingw to custom resources (#76)
Features
Bug Fixes
- ci: Update workflows to use release pipeline (#58) (d598c33)
- repair workflow actionlint failures (#67) (db9a06c)
4.0.6 (2025-10-16)
Bug Fixes
4.0.5 (2025-10-15)
Bug Fixes
4.0.0 - 2023-11-01
- Updated minimum Chef infra-client version supported, dropping
< 15.3- Added flag unified_mode with value: true
3.0.1 - 2023-10-31
- Fix metadata
3.0.0 - 2023-10-31
- Adopt cookbook.
- This is still in a broken state given we haven't updated the cookbook to use the new seven_zip cookbook.
2.1.4 - 2022-02-08
- Remove delivery folder
2.1.3 - 2021-08-31
- Standardise files with files in sous-chefs/repo-management
2.1.1 (2020-06-02)
- Resolve cookstyle 5.8 warnings - @tas50
- Require Chef 12.15+ - @tas50
- Fix compatibility with Chef Infra Client 16 - @xorimabot
- resolved cookstyle error: resources/get.rb:26:1 warning:
ChefDeprecations/ResourceUsesOnlyResourceName - resolved cookstyle error: resources/msys2_package.rb:31:1 warning:
ChefDeprecations/ResourceUsesOnlyResourceName - resolved cookstyle error: resources/tdm_gcc.rb:26:1 warning:
ChefDeprecations/ResourceUsesOnlyResourceName
- resolved cookstyle error: resources/get.rb:26:1 warning:
2.1.0 (2018-07-24)
- refactor msys2 package source and checksum to attributes
2.0.2 (2018-02-15)
- Remove kind_of usage in the custom resources (FC117)
2.0.1 (2017-04-26)
- Test with Local Delivery instead of Rake
- Add chef_version to the metadata
- Use standardize Apache 2 license string
2.0.0 (2017-02-27)
- Require Chef 12.5 and remove compat_resource dependency
1.2.5 (2017-01-18)
- Require a working compat_resource
v1.2.4 (2016-07-26)
- New msys2 shells do not inherit PATH from windows. Provide a way for clients to do this.
v1.2.3 (2016-07-25)
- If PKG_CONFIG_PATH is already defined, honor it in the msys2 shell.
v1.2.2 (2016-06-24)
- Download msys2 from the primary download url (instead of a specific mirror).
v1.2.1 (2016-06-23)
- Fix msys2 initial install/upgrade steps that dependended on file modification time.
- Make msys2_package :install idempotent - it should not reinstall packages.
- Do not allow bash.exe to be called if MSYSTEM is undefined.
v1.2.0 (2016-06-03)
- Updating to fix the issue where msys2 bash does not inherit the cwd correctly
v1.1.0 (2016-06-03)
- Add msys2 based compiler support using the new msys2_package resource
v1.0.0 (2016-05-11)
- Remove unnecessary default_action from the resources
- Depend on compat_resource cookbook to add Chef 12.1 - 12.4 compatbility
- Add this changelog file
- Fix license metadata in metadata.rb
- Disable FC016 check
Collaborator Number Metric
5.0.0 passed this metric
Contributing File Metric
5.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
5.0.0 passed this metric
No Binaries Metric
5.0.0 passed this metric
Testing File Metric
5.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
5.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
5.0.0 passed this metric
5.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
5.0.0 passed this metric
No Binaries Metric
5.0.0 passed this metric
Testing File Metric
5.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
5.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
5.0.0 passed this metric
5.0.0 passed this metric
Testing File Metric
5.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
5.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
5.0.0 failed this metric
5.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number