-
Notifications
You must be signed in to change notification settings - Fork 583
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
interpreters/quickjs/Makefile: fix the build with Make #2993
Conversation
[Experimental Bot, please feedback here] Yes, this PR appears to meet the NuttX requirements, although the provided information could be more thorough. Here's a breakdown of why and suggestions for improvement: Strengths:
Weaknesses & Suggestions:
Example of Improved Testing Section:
make -j
make -j
By addressing these points, the PR will be even stronger and easier for reviewers to assess. |
@simbit18 is there some TAG that you can use? Using the "master" probably will make it break soon |
Hi Alan, for TAG we need to change the Makefile from curl to git clone . https://github.com/bellard/quickjs I will do that in another PR. |
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 @simbit18 :-)
- There is inconsistency between
QUICKJS_VERSION=master
andVERSION=\"2020-11-08\"
. I think we should use release not master..? - Why not use
VERSION=\"$(QUICKJS_VERSION)\"
as before? - Please add
git commit -s
signature to git commit :-)
Hi @cederom Make QUICKJS_VERSION is used in the construction of the url Cmake So sim:quickjs is built correctly on Ubuntu with Docker because cmake uses different sources. Obviously if we go through the build with make it fails !!! In fact here is what happens on our NuttX mirror macOS (sim-03) uses Make
https://github.com/NuttX/nuttx/actions/runs/13326598748/job/37221187619#logs The purpose of my PR is to restore the build with Make and resolve the build on the NuttX mirror. As @acassis has rightly as pointed out it is necessary to have a reference TAG. With a new PR I will fix Cmakefile and Make to avoid future breakage. |
QUICKJS_URL_BASE in Cmakefile and Makefile was not the same. Updated the correct url in Makefile. fix apache/nuttx#15712 To avoid future breakage, used the URL with last commit ID Current version 2024-02-14 as found in the VERSION file https://github.com/bellard/quickjs/blob/master/VERSION Signed-off-by: simbit18 <[email protected]>
226286c
to
406bdfc
Compare
@cederom @acassis @lupyuen @jerpelea @xiaoxiang781216 I have updated the PR Current version 2024-02-14 as found in the VERSION file https://github.com/bellard/quickjs/blob/master/VERSION Signed the commit @cederom I warn you If I receive spam emails they will be redirected to your email !!!! :) |
Summary
QUICKJS_URL_BASE in Cmakefile and Makefile was not the same.
Updated the correct url in Makefile.
Impact
Closes apache/nuttx#15712 fixing the build with Make
Testing
./tools/configure.sh -l sim:quickjs
make -j
Github
https://github.com/simbit18/nuttx_test_pr/actions/runs/13306558512/job/37158861055#logs
local on Alpine Linux