mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 20:46:26 +02:00
Add D
This commit is contained in:
parent
b0c462d5ee
commit
ba19844c0e
7 changed files with 30 additions and 0 deletions
11
readme.md
11
readme.md
|
@ -261,6 +261,16 @@ cd nim-1.4.0
|
|||
echo 'export PATH=$PATH:/opt/nim/bin' >> /opt/.profile
|
||||
source /opt/.profile
|
||||
|
||||
# install d
|
||||
# final binary: /opt/d/dmd2/linux/bin64/dmd
|
||||
# get version: /opt/d/dmd2/linux/bin64/dmd --version
|
||||
cd /opt && mkdir d && cd d
|
||||
wget http://downloads.dlang.org/releases/2.x/2.095.0/dmd.2.095.0.linux.tar.xz
|
||||
unxz dmd.2.095.0.linux.tar.xz
|
||||
tar -xf dmd.2.095.0.linux.tar
|
||||
echo 'export PATH=$PATH:/opt/d/dmd2/linux/bin64' >> /opt/.profile
|
||||
source /opt/.profile
|
||||
|
||||
# create runnable users and apply limits
|
||||
for i in {1..150}; do
|
||||
useradd -M runner$i
|
||||
|
@ -363,6 +373,7 @@ If an invalid language is supplied, a typical response will look like the follow
|
|||
- c
|
||||
- cpp
|
||||
- csharp
|
||||
- d
|
||||
- deno
|
||||
- elixir
|
||||
- emacs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue