-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
wasm: restore support for some targets #8401
Conversation
2b3d2cb
to
d1beedb
Compare
Somehow, support for ARC, MIPS, and XTENSA got dropped by bumping to v1.3.0, so restore it now. Remark that those targets are mentioned in the section above. See commit fa6a248. Signed-off-by: Thomas Devoogdt <[email protected]>
d1beedb
to
102f033
Compare
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.
These added lines should be failed due to this line:
message(SEND_ERROR "Unsupported build target platform!")
Shouldn't we pay attention to the previous lines to detect automatically platforms?
Wrong, that block is guarded with "if (NOT DEFINED WAMR_BUILD_TARGET)", but I do define it. |
I mean, this should be completed inside on the CMakeLists.txt not on the additional autoconf mechanism. |
The problem is that the CMakeLists.txt was not really able to detect the relevant platforms right. Partially since buildroot sometimes uses other names and so on. So for that reason, this translation is done:
I now wanted to bump fluent-bit from v2.1.7 to v2.2.2, and saw that some targets were broken. So there are indeed two things here. fluent-bit/src/wasm/CMakeLists.txt Lines 17 to 37 in b1b4d5f
b) the definitions for the build target (this PR), which is part of this block: fluent-bit/src/wasm/CMakeLists.txt Lines 41 to 64 in b1b4d5f
|
Ah, got it. Thanks for the explanation. Then, it seems great to detect for the latter detectors with user-defined architecture variable. The auto detectors are only good enough to handle well-known architectures, I believe. |
thank you. I will backport this to 2.2 |
Somehow, support for ARC, MIPS, and XTENSA got dropped by bumping to v1.3.0, so restore it now. Remark that those targets are mentioned in the section above. See commit fa6a248. Signed-off-by: Thomas Devoogdt <[email protected]>
Somehow, support for ARC, MIPS, and XTENSA got dropped by bumping to v1.3.0, so restore it now. Remark that those targets are mentioned in the section above. See commit fa6a248. Signed-off-by: Thomas Devoogdt <[email protected]>
Somehow, support for ARC, MIPS, and XTENSA got dropped by bumping to v1.3.0, so restore it now. Remark that those targets are mentioned in the section above. See commit fa6a248. Signed-off-by: Thomas Devoogdt <[email protected]>
Somehow, support for ARC, MIPS, and XTENSA got dropped by bumping to v1.3.0, so restore it now. Remark that those targets are mentioned in the section above.
See commit fa6a248.
Enter
[N/A]
in the box, if an item is not applicable to your change.Testing
Before we can approve your change; please submit the following in a comment:
If this is a change to packaging of containers or native binaries then please confirm it works for all targets.
ok-package-test
label to test for all targets (requires maintainer to do).Documentation
Backporting
Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.