Skip to content
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

Closed
wants to merge 1 commit into from
Closed

Add jerry fdlibm library in build script #52

wants to merge 1 commit into from

Conversation

seanshpark
Copy link
Contributor

IoT.js-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com

@seanshpark
Copy link
Contributor Author

Related jerryscript-project/jerryscript#87

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():
Copy link
Contributor

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?

Copy link
Contributor

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.

Copy link
Contributor

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.

Copy link
Contributor Author

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?

@seanshpark
Copy link
Contributor Author

@ILyoan , I'm not sure about this build.py changes. What is needed is libfdlibm.a file with deps/jerry/third-party/fdlibmfiles. Can you make a PR? I'll drop this when ready.

@seanshpark
Copy link
Contributor Author

drop this, issue #55 added

@seanshpark seanshpark closed this May 27, 2015
@seanshpark seanshpark deleted the buildfdlibm branch June 30, 2015 06:33
pmarcinkiew referenced this pull request in pmarcinkiew/iotjs Aug 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants