woj-server/resource/runner/framework/template/setup.sh

9 lines
316 B
Bash
Raw Normal View History

2022-10-20 18:21:11 +08:00
#!/usr/bin/env bash
set -x
rm -rf testlib
git clone --depth=1 https://github.com/MikeMirzayanov/testlib.git >/dev/null 2>&1 || exit 1
2022-10-20 18:21:11 +08:00
rm -rf testlib/.git
rm -rf testlib/tests
cd testlib/checkers || exit 1
parallel clang++ -O2 -Wall -pipe -I.. {}.cpp -o {} ::: fcmp hcmp lcmp ncmp nyesno rcmp4 rcmp6 rcmp9 wcmp yesno