Compare commits
4 Commits
46edb3b478
...
f12cee3a96
Author | SHA1 | Date |
---|---|---|
Brian Seymour | f12cee3a96 | |
Sirius902 | 2444092236 | |
Sirius902 | 84fb5e0b9c | |
Brian Seymour | 0d3517fe56 |
|
@ -101,7 +101,7 @@ cd rust-1.49.0-x86_64-unknown-linux-gnu
|
|||
|
||||
# install scala
|
||||
# final binary: /opt/scala/scala3-3.0.0-M3/bin/scala
|
||||
# get version: /opt/scala/scala3-3.0.0-M3/bin/scala -version
|
||||
# get version: /opt/scala/scala3-3.0.0-M3/bin/scalac -version
|
||||
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
|
||||
tar -xzf scala3-3.0.0-M3.tar.gz
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
cd /tmp/$1
|
||||
timeout -s KILL 10 gcc -std=c11 -o binary -x c code.code
|
||||
timeout -s KILL 10 gcc -std=c11 -o binary -x c code.code -lm
|
||||
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 'scala'
|
||||
lxc-attach --clear-env -n piston -- /bin/bash -l -c "scala -version"
|
||||
lxc-attach --clear-env -n piston -- /bin/bash -l -c "scalac -version"
|
||||
echo '---'
|
||||
|
||||
echo 'swift'
|
||||
|
|
Loading…
Reference in New Issue