Uploaded image for project: 'Coin'
  1. Coin
  2. COIN-541

Allow including qtbase instruction yaml files in qt5 product

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: master
    • Fix Version/s: 1.4
    • Labels:
      None

      Description

      I'm trying to implement calling the CMake configure step for qt5.git, without building, similar how it's done with qmake for qt5.git.

      To do that, I need to include instruction .yaml files from qtbase.

      version: 2
      accept_configuration:
        condition: property
        property: host.os
        equals_property: target.os
      
      instructions:
        Build:
          - !include "{{qt/qtbase}}/prepare_building_env.yaml"
          - ....
      

      Currently that does not work because qtbase is not a dependency of qt5.

      Two approaches were proposed:
      1) Make qt5 depend on all its submodules. Consequence that qt5 can't be built before all the other dependencies.

      2) Allow inclusion of instruction files by relative path.

       - !include ""../../qtbase/coin/instructions/my.yaml"
      

      This is needed to avoid even more copy-pasting of instructions between repos.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            tosaario Toni Saario
            Reporter:
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes