V8-based JavaScript interpreter for online judging
The DMOJ offers prebuilt packages for Debian-based amd64 systems, although the binaries are statically linked.
We offer this as a Debian repository. First, choose the line suited to your distro. (For non-Debian distros, select the closest Debian release):
deb [arch=amd64] https://apt.dmoj.ca/ jessie main non-free
deb [arch=amd64] https://apt.dmoj.ca/ stretch main non-free
deb [arch=amd64] https://apt.dmoj.ca/ buster main non-free
Then run:
curl https://dmoj.ca/dmoj-apt.key | sudo apt-key add -
sudo apt update
sudo apt install v8dmojYou must have git, gcc, and GNU make installed.
- Build a v8 monolith by running
./build-monolith. mkdir monolithtar -C monolith --strip-components=1 -xf <path to monolith built>make