The SIO2 project
  1. The SIO2 project
  2. SIO-1464

Pass extra compilation files in a dict rather than in a list

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Obsolete
    • Affects Version/s: Current Version
    • Fix Version/s: Near Future
    • Component/s: OIOIOI
    • Labels:
      None

      Description

      Right now all extra compilation files are passed to sioworkers as a list under the 'extra_files' key: https://github.com/sio2project/oioioi/blob/master/oioioi/sinolpack/controllers.py#L24
      This means that when a program needs a library, both *.c and *.pas versions need to be downloaded to the compilation directory.
      However, compilers accept also extension -> file dictionaries as 'additional_includes' and 'additional_sources' environ keys.

        Activity

          People

          • Assignee:
            Szymon AcedaƄski
            Reporter:
            Bartosz Tarnawski
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: