Skip to content

Commit

Permalink
Merge pull request #31 from mozilla-spidermonkey/next
Browse files Browse the repository at this point in the history
ESR 78 migration guide
  • Loading branch information
ptomato authored Aug 14, 2020
2 parents edfe74b + ccffb58 commit 90389cd
Show file tree
Hide file tree
Showing 12 changed files with 3,780 additions and 2,615 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This repository contains documentation and examples for people who want
to embed the SpiderMonkey JavaScript engine.

The information on this `esr68` branch applies to SpiderMonkey 68.x, an
The information on this `esr78` branch applies to SpiderMonkey 78.x, an
Extended Support Release (ESR).
For other versions of SpiderMonkey, check the other branches: `next` for
information that will apply in the next as-yet-unreleased ESR, or
Expand Down
11 changes: 5 additions & 6 deletions docs/Building SpiderMonkey.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Use these instructions to build your own copy of SpiderMonkey.

## Prerequisites ##

You will need a **C++ compiler** that can handle the C++14 standard,
You will need a **C++ compiler** that can handle the C++17 standard,
**GNU Make**, **zlib**, and **libffi**.
These can usually be installed with a package manager.
You will also need **Autoconf 2.13** (not any later version) which is
Expand All @@ -22,9 +22,9 @@ than just `autoconf`.

Currently, the most reliable way to get the SpiderMonkey source code is
to download the Firefox source.
At the time of writing, the latest source for Firefox ESR 68, which
contains the source for SpiderMonkey ESR 68, can be found here:
https://ftp.mozilla.org/pub/firefox/releases/68.2.0esr/source/
At the time of writing, the latest source for Firefox ESR 78, which
contains the source for SpiderMonkey ESR 78, can be found here:
https://ftp.mozilla.org/pub/firefox/releases/78.1.0esr/source/

The ESR releases have a major release approximately once a year with
security patches released throughout the year.
Expand All @@ -48,8 +48,7 @@ writable to you without superuser permissions, for example.
cd js/src
mkdir _build
cd _build
../configure --disable-jemalloc --enable-posix-nspr-emulation \
--enable-unaligned-private-values --with-system-zlib \
../configure --disable-jemalloc --with-system-zlib \
--with-intl-api --enable-debug --enable-optimize
make
make install # sudo if necessary
Expand Down
Loading

0 comments on commit 90389cd

Please sign in to comment.