From 0d3517fe56eb42140ed86c534dd1b4542b6cd96a Mon Sep 17 00:00:00 2001 From: Brian Seymour Date: Thu, 25 Feb 2021 18:28:35 -0600 Subject: [PATCH 1/3] link math --- lxc/executors/c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc/executors/c b/lxc/executors/c index e0806f3..e849a08 100755 --- a/lxc/executors/c +++ b/lxc/executors/c @@ -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 From 84fb5e0b9cd1b7e5254350c0195516261f3eb4c8 Mon Sep 17 00:00:00 2001 From: Sirius902 <3645979-Sirius902@users.noreply.gitlab.com> Date: Thu, 25 Feb 2021 18:32:13 -0800 Subject: [PATCH 2/3] Fix scala version --- lxc/util/versions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc/util/versions b/lxc/util/versions index f86b563..6ff9d54 100755 --- a/lxc/util/versions +++ b/lxc/util/versions @@ -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' From 2444092236eecf390c4a46e044b2caf940bbc1ae Mon Sep 17 00:00:00 2001 From: Sirius902 <3645979-Sirius902@users.noreply.gitlab.com> Date: Thu, 25 Feb 2021 18:43:34 -0800 Subject: [PATCH 3/3] Update install comment in install_script --- container/install_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container/install_script.sh b/container/install_script.sh index 40973e8..c7cf270 100644 --- a/container/install_script.sh +++ b/container/install_script.sh @@ -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