Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
js: javascript interpreter (JIT) and libraries.
- Loading branch information
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
( | ||
|
||
OPTS+=" --with-system-nspr --enable-threadsafe " | ||
cd js/src | ||
default_build | ||
|
||
install -m 0755 shell/js /usr/bin | ||
|
||
) > $C_FIFO 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
depends nspr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
MODULE=js | ||
VERSION=1.8.5 | ||
SOURCE=js185-1.0.0.tar.gz | ||
SOURCE_URL=http://ftp.mozilla.org/pub/mozilla.org/$MODULE | ||
SOURCE_VFY=sha1:52a01449c48d7a117b35f213d3e4263578d846d6 | ||
WEB_SITE=https://developer.mozilla.org/En/SpiderMonkey/$VERSION | ||
ENTERED=20130210 | ||
UPDATED=20130210 | ||
SHORT="JavaScript interpreter and libraries" | ||
|
||
cat <<EOF | ||
SpiderMonkey 1.8.5 includes a just-in-time compiler (JIT) (several, actually) | ||
that compiles JavaScript to machine code, for a significant speed increase. | ||
It is supported only on x86, x86_64 and ARM architectures. On other platforms, | ||
the JIT is simply disabled; JavaScript code runs in an interpreter, as in | ||
previous versions. It's the same language, just not as fast. | ||
EOF |