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

tidwall-neco: add recipe #23521

Merged
merged 14 commits into from
Jun 11, 2024
Merged

Conversation

toge
Copy link
Contributor

@toge toge commented Apr 14, 2024

Specify library name and version: tidwall-neco/*

Because neco includes unistd.h, neco doesn't support MSVC.
https://github.com/tidwall/neco/blob/v0.2.0/neco.c#L2202


@conan-center-bot

This comment has been minimized.

Copy link
Member

@AbrilRBS AbrilRBS left a comment

Choose a reason for hiding this comment

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

They released version 0.2.0 just now, could you update it before merging? Thanks :)

@toge
Copy link
Contributor Author

toge commented Apr 16, 2024

@RubenRBS
Thanks you for your information.
I updated this PR.

@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.

Copy link
Member

@AbrilRBS AbrilRBS left a comment

Choose a reason for hiding this comment

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

Thanks! Sorry I missed the initial ping :)

recipes/tidwall-neco/all/conanfile.py Outdated Show resolved Hide resolved
cmake_layout(self, src_folder="src")

def validate(self):
if is_msvc(self):
Copy link
Member

Choose a reason for hiding this comment

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

I think this is no longer the case in the new version? Could you try to disable this check, see if this works now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@RubenRBS
Removed.
Let's see the result.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@RubenRBS

There is still compilation errors on MSVC.
It is caused by lack of stdatomic.h which is introduced in C11.
Because I have no idea to workaround it, I'm going to drop support for msvc.

C:\J\workspace\prod-v1\bsr@4\43174\abeda\.conan\data\tidwall-neco\0.3.2\_\_\build\d057732059ea44a47760900cb5e4855d2bea8714\src\neco.c(163,1): fatal error C1083: Cannot open include file: 'stdatomic.h': No such file or directory [C:\J\workspace\prod-v1\bsr@4\43174\abeda\.conan\data\tidwall-neco\0.3.2\_\_\build\d057732059ea44a47760900cb5e4855d2bea8714\build\neco.vcxproj]

toge and others added 2 commits May 14, 2024 20:55
Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es>
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 13 (89941b1c6ec0486e1799a5633a5e1acd95f2b194):

  • tidwall-neco/0.3.2:
    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 13 (89941b1c6ec0486e1799a5633a5e1acd95f2b194):

  • tidwall-neco/0.3.2:
    All packages built successfully! (All logs)

@danimtb danimtb requested a review from AbrilRBS June 11, 2024 10:49
Copy link
Contributor

@perseoGI perseoGI left a comment

Choose a reason for hiding this comment

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

Thank you Toge ❤️

Copy link
Member

@AbrilRBS AbrilRBS left a comment

Choose a reason for hiding this comment

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

Thanks!

@conan-center-bot conan-center-bot merged commit a65a3f8 into conan-io:master Jun 11, 2024
13 checks passed
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.

5 participants