python: Add defconfig for RISC-V QEMU and Documentation entries for Python on NuttX#15099
Conversation
|
[Experimental Bot, please feedback here] Yes, this PR appears to meet the NuttX requirements, although some sections could be more explicit. While the information is present, expanding on some points would improve clarity and completeness. Here's a breakdown:
By providing more specific information in the Impact and Testing sections, the PR review process will be much smoother and faster. |
|
About the CI, It's failing because of the flags used to build Python. I can fix them, but I'm afraid that it'd take too long to build the test because it requires building python for the host too. @lupyuen , do you have any suggestions on how to skip this test (or at least running it only from time to time)? |
|
@tmedicci Yep could you add this patch for risc-v-06.dat? It will exclude rv-virt:python from the CI Build. Thanks! |
|
3dc04e6 to
2bb6440
Compare
but should we fix the build issue first before disabling it from ci? I saw the real build problem from the previous build, it isn't good to merge the unworkable defconfig. |
It's usable. The problem here is that ci sets However, although we have this "issue", the |
|
FYI in case we wish to skip |
Ideally, we should exclude it from the "PR-triggered" CI but run it on a scheduled basis (from time to time). I don't know if our CI allows it somehow. |
in this case, we should either fix the warning in CPython or add -Wno-xxx to Makefile. |
|
Please check apache/nuttx-apps#2886 The roadmap here is: wait for apache/nuttx-apps#2886 to be merged (warnings are disabled for CPython). Then, we can re-run this pipeline. I temporarily reverted the @lupyuen commit (to reenable the |
|
@xiaoxiang781216 , let's wait the CI to run at least once with the |
|
@lupyuen , what do you think about creating a new |
This defconfig enables building NuttX's port of Python for RISC-V QEMU.
This commit adds entries in the documentation referring to the Python's port for NuttX.
83afcd2 to
a0bb991
Compare
|
@tmedicci Yep sure! This is how we move rv-virt:python from risc-v-06 to risc-v-07: The Python Build might slow down the Full Builds at NuttX Mirror Repo. So I'll run risc-v-07 at NuttX Build Farm instead. Any errors will appear at nuttx-dashboard.org (I'm testing a push-alert system with Mastodon) FYI: NuttX Mirror Repo now runs Full Builds non-stop, roughly every 3 hours, as long as there as new commits. That's why I'm hoping not to slow down the Full Build, also hoping GitHub won't throttle our Mirror Repo for overuse. (Here's the script) |
Thanks! Tomorrow morning I will add it to this PR. About the current pipeline, (I will try to run it locally tomorrow, too) |
|
@tmedicci Yep there's a strange problem with CI Test, |
a0bb991 to
3b2e3e9
Compare
… because it's costly to compile. apache/nuttx#15099 (comment)
|
@tmedicci First Build Log: https://gitlab.com/lupyuen/nuttx-build-log/-/snippets/4780917#L165 |
|
Thanks @lupyuen, this is amazing! |



Summary
Impact
Document how to build
Python for NuttX(added by apache/nuttx-apps#2879) on RISC-V QEMU.Testing
Tested building
rv-virt:pythonwith the instructions at apache/nuttx-apps#2879 and the documentation withmake html.