-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
mpg123: dont require msys2 when using msvc, fix macos crossbuild #26381
mpg123: dont require msys2 when using msvc, fix macos crossbuild #26381
Conversation
I found if building process is in msvc environment, mpg123 never use msys2, but these lines aways add the msys2 requirement if os is windows, could we only add the requirement if that's not msvc environment? please refer to: https://github.com/conan-io/conan-center-index/blob/master/recipes/mpg123/all/conanfile.py#L103-L105
Hi @AbrilRBS , thanks! |
There is a build error for the profile:
The error message are:
The header file paths are not configured properly as other c++ file, and all the avx assembly files are failed to build, I think the reason may be related to the following messages in the github build:
Local host build is correctly with the settings:
If the compiler.version is 15, it can support to compile the avx assembly, this build error isn't produced. I think the root cause is in the mpg123 building process, I will post a issue to mpg123 next step. Hi @AbrilRBS, could change the compiler.version to 15 for the github runner? |
Hi @codereba The best approach is to add an entry into the Something like:
or similar. Please let me know if this helps :) |
The issue is in the
I've pushed a fix. IMO these are potentially both upstream issues:
|
Thanks for your work, I discussed with mpg123 team, they know these issues. |
…an-io#26381) * Remove the msys2 tool requirement if envorinment is msvc. * mpg123: fix macos crossbuild issue --------- Co-authored-by: Abril Rincón Blanco <git@rinconblanco.es> Co-authored-by: Luis Caro Campos <3535649+jcar87@users.noreply.github.com>
fixes #26380 I found if building process is in msvc environment, mpg123 never use msys2, but these lines aways add the msys2 requirement if os is windows, could we only add the requirement if that's not msvc environment?
please refer to:
https://github.com/conan-io/conan-center-index/blob/master/recipes/mpg123/all/conanfile.py#L103-L105
Summary
Changes to recipe: mpg123/1.31.2
Motivation
if building process is in msvc environment, mpg123 never use msys2, but these lines aways add the msys2 requirement if os is windows.
Details
I found if building process is in msvc environment, mpg123 never use msys2, but these lines aways add the msys2 requirement if os is windows, could we only add the requirement if that's not msvc environment?
please refer to:
https://github.com/conan-io/conan-center-index/blob/master/recipes/mpg123/all/conanfile.py#L103-L105
Maintainer changes
(by @jcar87)
CFLAGS
are propagatedself.settings_build