-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
uvwasi: add recipe #18522
base: master
Are you sure you want to change the base?
uvwasi: add recipe #18522
Conversation
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.
Looks good! The patch seems to be a subset of the changes in the linked URL, but I think that's ok :)
Other than that, I like this simple recipe, congrats!
pending team discussion
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/out) | ||
|
||
-if(CMAKE_C_COMPILER_ID MATCHES "AppleClang|Clang|GNU") | ||
+if(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.
@toge, thanks for your contribution.
What is the motivation behind this change? The patch mentions nodejs/uvwasi#210 but I cannot see this change there.
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.
Sorry for the wrong information.
uswasi#210 only adds the installer.
I split the patch file in two.
endif() | ||
|
||
-if(APPLE) | ||
+if(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.
This is probably unnecessary - CMAKE_MACOSX_RPATH
is ON
by default if the cmake minimum required is recent enough, and ON
is the value we want - I suspect that even without this change, the dylib would have an install name that starts with @rpath
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.
@jcar87
Thank you for your review!
I disable this patch.
Thanks @toge ! It's still not clear why disabling visibility=hidden is needed? |
This comment has been minimized.
This comment has been minimized.
@jcar87 |
I see @toge, thanks for providing a rationale behind this. In this case, and given that the upstream |
I agree with you. |
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.
Any updates @toge? :) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
In gcc <= 10.0, uvwasi's test_package.cpp returns 134 error code. I'm investigating.
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
recipes/uvwasi/all/conanfile.py
Outdated
cmake_layout(self, src_folder="src") | ||
|
||
def requirements(self): | ||
self.requires("libuv/1.48.0", transitive_headers=True) |
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.
We're going to allow version ranges for this library in the form of [>=1 <2]
:)
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Conan v1 pipeline ❌Failure in build 3 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. |
Specify library name and version: uvwasi/*
uvwasi is required by wasm-micro-runtime with
libc=uvwasi
.