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

embag: add new recipe #17575

Merged
merged 11 commits into from
Sep 4, 2023
Merged

embag: add new recipe #17575

merged 11 commits into from
Sep 4, 2023

Conversation

valgur
Copy link
Contributor

@valgur valgur commented May 15, 2023

Specify library name and version: embag/0.0.42

Resolves #17574.


@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit 93b40f8
embag/0.0.42
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libembag.so' links to system library 'm' but it is not in cpp_info.system_libs.

@conan-center-bot

This comment has been minimized.

@CLAassistant
Copy link

CLAassistant commented May 15, 2023

CLA assistant check
All committers have signed the CLA.

@valgur valgur marked this pull request as ready for review May 15, 2023 20:36
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

recipes/embag/all/test_v1_package/CMakeLists.txt Outdated Show resolved Hide resolved
recipes/embag/all/conanfile.py Outdated Show resolved Hide resolved
recipes/embag/all/CMakeLists.txt Show resolved Hide resolved
@conan-center-bot

This comment has been minimized.

@valgur valgur requested a review from memsharded May 25, 2023 13:46
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

recipes/embag/all/conanfile.py Outdated Show resolved Hide resolved
recipes/embag/all/CMakeLists.txt Show resolved Hide resolved
uilianries
uilianries previously approved these changes Aug 18, 2023
@conan-center-bot

This comment has been minimized.

Otherwise would need to add /Zc:__cplusplus to exported cxxflags.
@conan-center-bot

This comment has been minimized.

uilianries
uilianries previously approved these changes Aug 31, 2023
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

def _patch_sources(self):
# Disable a C++11 workaround that is broken on MSVC
replace_in_file(self, os.path.join(self.source_folder, "lib", "util.h"),
"#if __cplusplus < 201402L", "#if false")
Copy link
Contributor

Choose a reason for hiding this comment

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

@valgur I think the best way to do that is by adding this as a patch field in the conandata.yml. It would be good to have it there in case of opening a PR upstream to add this patch in the future.

@conan-center-bot

This comment has been minimized.

@uilianries
Copy link
Member

I just restarted this PR in the CI build. The error involving Windows path is fixed now.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 7 (6b6f8ff382ed9af01fddc9e5ba78165971ae6efa):

  • embag/0.0.42:
    All packages built successfully! (All logs)

Conan v2 pipeline ✔️

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 7 (6b6f8ff382ed9af01fddc9e5ba78165971ae6efa):

  • embag/0.0.42:
    All packages built successfully! (All logs)

@conan-center-bot conan-center-bot merged commit 75a1eaf into conan-io:master Sep 4, 2023
5 checks passed
ericLemanissier pushed a commit to ericLemanissier/conan-center-index that referenced this pull request Sep 15, 2023
* embag: add new recipe

* embag: set min cxx_standard to 11

* embag: add missing 'm' system lib

* embag: bump min c++ std to 14

* embag: fix a portability bug

* embag: drop test_v1_package

* embag: transitive_libs not required for boost

* embag: get rid of patch, add review suggestion

* embag: revert to using a patch

Otherwise would need to add /Zc:__cplusplus to exported cxxflags.

* embag: get rid of the patch
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.

[request] embag
6 participants