-
Notifications
You must be signed in to change notification settings - Fork 646
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
compilation_on_android.yml: Add shared lib build #3975
base: main
Are you sure you want to change the base?
Conversation
a2215b4
to
492ccc6
Compare
492ccc6
to
f1f8c32
Compare
Are we planning to include a shared library in the final set of release binaries, or are we going to test the compilation of a shared library with each PR? If it's the former, then modifying build_iwasm_release.yml makes sense. However, if it's the latter, you might want to make changes to .github/workflows/compilation_on_* instead. |
I do not decide which artifacts should be built for release, so I assume the latter only for now. I will then update the PR to only modify |
@midokura-xavi92 I noticed that the PR has been inactive for a few weeks. It looks like it’s almost ready to be merged, and it would be great to see it completed. Would you be able to make the necessary modifications? If you need any help or have any questions, please feel free to reach out. Your contribution is highly appreciated! |
c2bde38
to
3f02bc4
Compare
@lum1n0us I have just updated the branch so as to modify |
@@ -136,6 +137,7 @@ jobs: | |||
$LLVM_LAZY_JIT_BUILD_OPTIONS, | |||
$LLVM_EAGER_JIT_BUILD_OPTIONS, | |||
$MULTI_TIER_JIT_BUILD_OPTIONS, | |||
$SHARED_BUILD_OPTIONS, |
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.
not here. this is for variant running mode only.
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.
You might want to add SHARED_BUILD_OPTIONS
into make_options_feature
. It will test SHARED_BUILD_OPTIONS
with all kinds of running mode
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.
The change made at line 139 should be undone. That section is intended solely for the run mode configuration.
@@ -189,6 +191,8 @@ jobs: | |||
make_options_feature: "-DWAMR_BUILD_DEBUG_INTERP=1" | |||
- make_options_run_mode: $MULTI_TIER_JIT_BUILD_OPTIONS | |||
make_options_feature: "-DWAMR_BUILD_DEBUG_INTERP=1" | |||
- make_options_run_mode: $SHARED_BUILD_OPTIONS | |||
make_options_feature: "-DWAMR_BUILD_DEBUG_INTERP=1" |
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.
not here neither. this usually mean some features are not supported by special running mode
So far, no workflows would attempt to build the shared version of the iwasm library (namely, vmlib). Note that, as opposed to GC_EH_BUILD_OPTIONS and DEFAULT_BUILD_OPTIONS, the actual default options defined by the build system are assumed, for the sake of simplicity and avoiding repeated code.
3f02bc4
to
f8eba68
Compare
Thanks for the tips, @lum1n0us . Please let me know whether the changes are valid now. |
So far, no workflows would attempt to build the shared version of the iwasm library (namely, vmlib).
Note that, as opposed to GC_EH_BUILD_OPTIONS and DEFAULT_BUILD_OPTIONS, the actual default options defined by the build system are assumed, for the sake of simplicity and avoiding repeated code.