Skip to content

Instantly share code, notes, and snippets.

@hakatashi
Created October 2, 2017 07:37
Show Gist options
  • Save hakatashi/0176026d1989fa077d368e0b7a71fbed to your computer and use it in GitHub Desktop.
Save hakatashi/0176026d1989fa077d368e0b7a71fbed to your computer and use it in GitHub Desktop.
sudo add-apt-repository -y ppa:mercurial-ppa/releases
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt upgrade -y
sudo apt install mercurial autoconf2.13 gcc-7 g++-7 make python-pip -y
pip install hg-git
cat <<EOF > ~/.hgrc
[extensions]
hgext.bookmarks =
hggit =
EOF
hg clone http://hg.mozilla.org/mozilla-central spidermonkey
cd spidermonkey/js/src
autoconf2.13
mkdir build_DBG.OBJ
cd build_DBG.OBJ
../configure --enable-debug --disable-optimize CC=gcc-7
make -j5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment