Commit graph

7 commits

Author SHA1 Message Date
05a3784af3 Use new flex
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-21 05:36:39 +01:00
1b5437b6f4 Copy build context for patch file
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-20 00:14:14 +01:00
5ef0aff5b5 Patch cool.flex for flex > 2.5.39
Some checks failed
continuous-integration/drone/push Build is failing
flex (and libfl) expect a symbol yyflex. This symbol is overwritten and expected
to be cool_yyflex in the cool compiler. This patch makes both happy. In addition
fixes name mangling issues with c++ compilers which otherwise may mangle
yyflex (which is a fixed symbol in c-compiled libfl).
2020-12-20 00:00:09 +01:00
4fdaf40671 Patch tar in grading.pl scripts
All checks were successful
continuous-integration/drone/push Build is passing
`grade.pl` scripts contain packed test data. The scripts extract the data
to the `grading` folder in the respective `assignments/PA[2-4]J?` folders. When
running tar as superuser it defaults to `--preserve-permission` `--same-owner`.
Since the packed data is owned by sjt:operator, the folder may be inaccessible
from the host.

By patching in `-o` to the tar command we disable `--same-owner` which creates
the `grading` folder with root:root (translated to the PID:GID of the user
running the container at least in podman).
2020-12-19 11:27:19 +01:00
efe5b75d03 Add gdb and instructions
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-18 14:19:49 +01:00
85d7881524 Use flex-old for compatibility
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-15 17:39:52 +01:00
f420a35fe0 Init 2020-12-15 03:55:23 +01:00