-
Notifications
You must be signed in to change notification settings - Fork 440
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
Add jerry fdlibm library in build script #52
Conversation
IoT.js-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com
@@ -361,6 +367,72 @@ def build_libjerry(): | |||
mkdir(opt_build_libs()) | |||
copy(build_cache_path, libjerry_output_path()) | |||
|
|||
# fdlibm for nuttx | |||
if check_build_libjerryfdlibm(): |
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.
Could we separate this "if" block as another function?
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.
Also, does fdlib depends on jerry? if not, we don't need to call it "jerryfdlibm" just "fdlibm" is ok and not confusing.
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.
On second thought, another build phase is unnecessary we can build "libjerry" and "fdlibm" at one time together by feeding both build target for make command.
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.
make -C /home/maxwell/harmony/iotjs/build/arm-nuttx/debug/deps/jerry debug.jerry-core debug.jerry-fdlibm.third_party.lib -j1
make: Entering directory `/home/maxwell/harmony/iotjs/build/arm-nuttx/debug/deps/jerry'
make: *** No rule to make target `debug.jerry-core debug.jerry-fdlibm.third_party.lib'. Stop.
maybe another way?
@ILyoan , I'm not sure about this build.py changes. What is needed is libfdlibm.a file with |
drop this, issue #55 added |
IoT.js-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com