-
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
msys2: Conan 2.0 compatibility tweaks #14686
msys2: Conan 2.0 compatibility tweaks #14686
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit cb4c332msys2/cci.latest
|
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit 66de1e8msys2/cci.latest
|
Hi @prince-chrismc. |
@System-Arch Why the |
Hi @jwillikers, Correct. It turns out that my Conan 2.0 build automation uses msys2 (not from a Conan package) and the kill, which is really unnecessary in the context of building a Conan package, was killing the automation in the middle of the build process. |
that's hard to manage automation of MSYS build and keep clean/consistent state after failed builds, as it leaves running processes after the failures. |
I agree with @SSE4 . Also, I don't think managing process life is a task for Conan client, it should be part from the system itself. I don't think is a good idea adding that option. |
Hi @SSE4, Hi @uilianries, |
I detected other pull requests that are modifying msys2/all recipe: This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit 656d687msys2/cci.latest
|
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit 95c3980msys2/cci.latest
|
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit ecd8e49msys2/cci.latest
|
You can remove objectdump, seems the hooks is broken |
Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>
Conan v1 pipeline ✔️All green in build 8 (
|
} | ||
default_options = { | ||
"exclude_files": "*/link.exe", | ||
"packages": "base-devel,binutils,gcc", | ||
"additional_packages": None, | ||
"no_kill": False, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this option should be removed from package id
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops! I for this was not resolved 🙈
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
def configure(self): | ||
self.settings.rm_safe("compiler.libcxx") | ||
self.settings.rm_safe("compiler.cppstd") | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's useless and confusing. There is no compiler in settings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @SpaceIm,
I guess I am the one who is confused. Please see conan-io/hooks#471
|
||
required_conan_version = ">=1.47.0" | ||
|
||
required_conan_version = ">=1.55.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
min conan version is 1.53.0 with these unecessary rm_safe, and without it's 1.47.0
* msys2: Conan 2.0 compatibility tweaks * Remove C++ settings in configure() method * Revamped packaging per #KB-H013: "DEFAULT PACKAGE LAYOUT" * Drop Python 2 support * Bumped required_conan_version to clear "failed" label * Added objdump to system_libs * @spacelm says to ignore objdump hooks issue Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com> Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>
Specify library name and version: msys2/cci.latest
While this recipe was ported to use Conan 2.0 modules (see #12715), it did not appear to actually function with Conan 2.0-beta6 or develop2. This set of changes addresses the remaining compatibility issues that were encountered as described in #14667