-
Notifications
You must be signed in to change notification settings - Fork 571
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
cmake(enhance):Enhanced full WASM library and application compilation #2971
Conversation
1.add complete compilation FLAGS for wasm toolchain 2.wasm build no longer traverses the native directory, saving build time 3.implement OPT and AOT process actions for wasm files 4.create a bridge interface for navtie build and wasm build Signed-off-by: xuxin19 <[email protected]>
Signed-off-by: xuxin19 <[email protected]>
Signed-off-by: xuxin19 <[email protected]>
System is unknown to cmake, create: Platform/WASI to use this system, please post your config file on discourse.cmake.org so it can be added to cmake Your CMakeCache.txt file was copied to CopyOfCMakeCache.txt. Please post that file on discourse.cmake.org. CMake Error at CMakeLists.txt:100 (add_subdirectory): add_subdirectory given source /home/data/vela/tmp/apps/frameworks/security/ta/hello_world /home/data/vela/tmp/apps/frameworks/security/ta/" which is not an existing directory. Signed-off-by: xuxin19 <[email protected]>
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 @xuxin930 :-)
Lets just wait for the CI checks to complete :-)
[Experimental Bot, please feedback here] Yes, this PR appears to meet the basic NuttX requirements, but it is missing some critical information. Here's a breakdown of what's good and what needs improvement: Strengths:
Weaknesses (requiring attention before merging):
Example of Improved Testing Section:
Testing logs after change (building the same example with the new CMake functions):
Additionally, I ran the following tests on the QEMU simulator:
|
Summary
This is a complete enhancement and addition to the WASM build support for the CMake version.
#2324
Enhanced full WASM library and application compilation
1.add complete compilation FLAGS for wasm toolchain
2.wasm build no longer traverses the native directory, saving build time
3.implement OPT and AOT process actions for wasm files
4.create a bridge interface for navtie build and wasm build
5.instead of traversing all directories again, use nuttx's wasm_add function as the registration
Impact
enhance wasm feat
Testing