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

MPC Conan 2.0 Compatibility #14770

Merged
merged 20 commits into from
Jan 28, 2023

Conversation

System-Arch
Copy link
Contributor

Specify library name and version: mpc/1.2.0

Migrated recipe to Conan 2.0. Resolves #14768. Note that these changes are untested on Windows with Conan 2.0 because some of the required dependencies don't build with 2.0 yet


@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit b3d588e
mpc/1.1.0
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libmpc.so' links to system library 'm' but it is not in cpp_info.system_libs.
mpc/1.2.0
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libmpc.so' links to system library 'm' but it is not in cpp_info.system_libs.

@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit 2040aab
mpc/1.2.0
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libmpc.dylib, libmpc.3.dylib
mpc/1.1.0
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libmpc.dylib, libmpc.3.dylib

Copy link
Contributor

@StellaSmith StellaSmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

recipes/mpc/all/conanfile.py Show resolved Hide resolved
recipes/mpc/all/conanfile.py Show resolved Hide resolved
System-Arch and others added 2 commits January 20, 2023 18:54
Co-authored-by: Stella Smith <40411082+StellaSmith@users.noreply.github.com>
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

StellaSmith
StellaSmith previously approved these changes Jan 21, 2023
Copy link
Contributor

@SpaceIm SpaceIm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inject VirtualRunEnv in build scope for native build, otherwise configure step of autotools on Linux & Windows will break if dependencies are shared

recipes/mpc/all/conanfile.py Outdated Show resolved Hide resolved
recipes/mpc/all/conanfile.py Show resolved Hide resolved
recipes/mpc/all/conanfile.py Outdated Show resolved Hide resolved
recipes/mpc/all/conanfile.py Outdated Show resolved Hide resolved
recipes/mpc/all/test_v1_package/CMakeLists.txt Outdated Show resolved Hide resolved
recipes/mpc/all/test_v1_package/conanfile.py Outdated Show resolved Hide resolved
recipes/mpc/all/test_v1_package/test_package.c Outdated Show resolved Hide resolved
System-Arch and others added 2 commits January 22, 2023 18:10
Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 21 (b571908a21138112f8be28d3b1c28cfbaae69683):

  • mpc/1.1.0@:
    All packages built successfully! (All logs)

  • mpc/1.2.0@:
    All packages built successfully! (All logs)

Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@conan-center-bot conan-center-bot merged commit ac1a6e1 into conan-io:master Jan 28, 2023
StellaSmith added a commit to StellaSmith/conan-center-index that referenced this pull request Feb 2, 2023
* MPC Conan 2.0 Compatibility

* Fixed lint errors

* Fixed license copying code

* Tweaked how win_bash is set

* Added new metadata for patch

* Try adding VirtrualBuildEnv for v1.x

* Bump required_conan_version

* Define CL-related flag macro values.

* Import is_msvc

* Add automake as a tool_requires

* Fixed typo

* Recognize that recipe lacks Visual Studio support

* Formatting tweak

* Added blank line to trigger CI build

* Use autotools.autoreconf() per review suggestion

* Add "m" as system_libs

* Add call to fix_apple_shared_install_name

Co-authored-by: Stella Smith <40411082+StellaSmith@users.noreply.github.com>

* Removed setting of shared/static options per code review

* Incorporate @spacelm's review feedback

Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>

* Per review feedback

---------

Co-authored-by: Stella Smith <40411082+StellaSmith@users.noreply.github.com>
Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>
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.

[package] MPC/1.2.0 lacks support for Conan 2.0
7 participants