[question] Managing MSYS build require outside of the recipes
See original GitHub issueComing from https://github.com/conan-io/conan-center-index/pull/971#discussion_r384523076
To enable proper MinGW support in some of the recipes, we are repeating every time the code
def build_requirements(self):
if tools.os_info.is_windows and "CONAN_BASH_PATH" not in os.environ and \
tools.os_info.detect_windows_subsystem() != "msys2":
self.build_requires("msys2/20190524")
I personally understand that it is very convenient to have the build require there, but this is clearly a pattern in all the recipes that enable support for MinGW.
My question is: Should we stop adding this code in the recipes and recommend people using the msys package in their mingw profiles as the cannonical way to create the packages?
I think having msys together with mingw should be a well-known pratice for all of those that are these creating packages
cc/ @SSE4 @uilianries @madebr
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
How can I install MinGW-w64 and MSYS2? - Stack Overflow
I need a package management system to easily download the dependencies. At first I am using MinGW and MSYS. But the included packages...
Read more >Compile error - ST Community - STMicroelectronics
I always show this message when I compile. I tried to reinstall the TouchGFX 4.18.0 many times but it always same happened.
Read more >R Installation and Administration
6.1 Default packages; 6.2 Managing libraries; 6.3 Installing packages ... (or, when building outside the source, TOP_SRCDIR /configure , etc) have been ...
Read more >C / C++ IDE (CDT) » MSys (CYGWIN?), CDT and ECLIPSE
My recipe is as follows. 1) Let the CDT manage the project. ... allows make to function properly outside the MSys environment.
Read more >CCS/LAUNCHXL-CC1310: Code Composer Studio tirtos build ...
Take a close look at the CCS build console and ensure that the sh.exe used for the build is the one from the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No, the build requirement must be there.
It is often present for MSVC builds if there is only a autotools build system.
Thanks a lot for the feedback guys!