Compare commits
No commits in common. "f12cee3a962bf14213fd078e9f514973af22c36b" and "46edb3b478a5bc19c75605228e28bb9bf02ff95f" have entirely different histories.
f12cee3a96
...
46edb3b478
|
@ -101,7 +101,7 @@ cd rust-1.49.0-x86_64-unknown-linux-gnu
|
||||||
|
|
||||||
# install scala
|
# install scala
|
||||||
# final binary: /opt/scala/scala3-3.0.0-M3/bin/scala
|
# final binary: /opt/scala/scala3-3.0.0-M3/bin/scala
|
||||||
# get version: /opt/scala/scala3-3.0.0-M3/bin/scalac -version
|
# get version: /opt/scala/scala3-3.0.0-M3/bin/scala -version
|
||||||
cd /opt && mkdir scala && cd scala
|
cd /opt && mkdir scala && cd scala
|
||||||
wget https://github.com/lampepfl/dotty/releases/download/3.0.0-M3/scala3-3.0.0-M3.tar.gz
|
wget https://github.com/lampepfl/dotty/releases/download/3.0.0-M3/scala3-3.0.0-M3.tar.gz
|
||||||
tar -xzf scala3-3.0.0-M3.tar.gz
|
tar -xzf scala3-3.0.0-M3.tar.gz
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
cd /tmp/$1
|
cd /tmp/$1
|
||||||
timeout -s KILL 10 gcc -std=c11 -o binary -x c code.code -lm
|
timeout -s KILL 10 gcc -std=c11 -o binary -x c code.code
|
||||||
timeout -s KILL 3 xargs -a args.args -d '\n' ./binary < stdin.stdin
|
timeout -s KILL 3 xargs -a args.args -d '\n' ./binary < stdin.stdin
|
||||||
|
|
|
@ -130,7 +130,7 @@ lxc-attach --clear-env -n piston -- /bin/bash -l -c "rustc --version"
|
||||||
echo '---'
|
echo '---'
|
||||||
|
|
||||||
echo 'scala'
|
echo 'scala'
|
||||||
lxc-attach --clear-env -n piston -- /bin/bash -l -c "scalac -version"
|
lxc-attach --clear-env -n piston -- /bin/bash -l -c "scala -version"
|
||||||
echo '---'
|
echo '---'
|
||||||
|
|
||||||
echo 'swift'
|
echo 'swift'
|
||||||
|
|
Loading…
Reference in New Issue