phoboslab / JavaScriptCore-iOS

Apple's JavaScript Engine, with modified project files for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

armv7s

jonasman opened this issue · comments

is there any compiled version for simulator, amrv7 and armv7s?

No. It's compiled with a Simulator and armv7 slice only. As far as I can tell, there was no speed improvement with the armv7s slice, so I rather opted for the smaller binary size.

The WTF and JSC libs should compile without problems with the added armv7s slice, though.

I had hard time trying to compile it.
I need 7s otherwise my project is. Not optimized for 7s. I have many libs and it would be nice to have 7 and 7s compatibility.

Enviado do meu iPhone

No dia 13/12/2012, às 18:19, "Dominic Szablewski" notifications@github.com escreveu:

No. It's compiled with a Simulator and armv7 slice only. As far as I can tell, there was no speed improvement with the armv7s slice, so I rather opted for the smaller binary size.

The WTF and JSC libs should compile without problems with the added armv7s slice, though.


Reply to this email directly or view it on GitHub.

Do you have any benchmarks of armv7 vs. 7s? I'm curious if there's really a measurable performance difference. Information about 7s everywhere is pretty vague, but I was under the assumption that very little has changed.

If you want to build this on your own, follow the compile instructions on the README.md page but before doing so, make the following to the two changes to the xcode projects:

  1. Add armv7s to the WTF iOS target Valid Architectures and in the Build Active Architecture Only section, set Release to No
  2. Add armv7s to the JavaScriptCore iOS target Valid Architectures and in the Build Active Architecture Only section, set Release to No

I built a version with armv7s here: https://github.com/wcwynn/phonegap-plugin-wizViewManager/blob/libjavascriptcore-update/ios/project/Plugins/WizViewManagerPlugin/JavaScriptCore/libJavaScriptCore.a

It should be good to go.

@wcwynn Thanks for your build, I'm testing it out as we speak!

I tried to go through the compilation steps for armv7s, but I got stuck with an error for a missing LLIntAssembly.h.

This issue has been open for a while. Since I had to rebuild for typedarray support so here are some pull requests that address this issue.

#2
#3