-
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
tidwall-neco: add recipe #23521
tidwall-neco: add recipe #23521
Conversation
This comment has been minimized.
This comment has been minimized.
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.
They released version 0.2.0 just now, could you update it before merging? Thanks :)
@RubenRBS |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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.
Thanks! Sorry I missed the initial ping :)
cmake_layout(self, src_folder="src") | ||
|
||
def validate(self): | ||
if is_msvc(self): |
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.
I think this is no longer the case in the new version? Could you try to disable this check, see if this works now?
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.
@RubenRBS
Removed.
Let's see the result.
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.
@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]
Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Conan v1 pipeline ✔️All green in build 13 (
Conan v2 pipeline ✔️
All green in build 13 (
|
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.
Thank you Toge ❤️
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.
Thanks!
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