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

        Hide
        Szymon Acedański added a comment -
        This issue has been automatically closed as Obsolete due to no activity for 365 days.

        Feel free to reopen it or create a new one if it's still relevant.
        Show
        Szymon Acedański added a comment - This issue has been automatically closed as Obsolete due to no activity for 365 days. Feel free to reopen it or create a new one if it's still relevant.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: